I tried to create a web service from EJB with help of JBoss Developer Studio but got an error "Could not load class ... Did you specify a valid --classpath?"(represented in the attachment).
I have EJB project which contains AccountServiceBean.
I used bean's context menu item "WebServices->Create Web Service" to initiate the creation process.
It looks as wsprovide tool of JBoss EAP is used for Web Service generation and it can't find the class AccountServiceBean. To the moment I have not found a way to make the bean visible to the tool.
I broke my head trying to resolve the problem I hope somebody faced the problem already and found a solution.
I found two related JBoss issues but they are not very helpful:
1. https://issues.jboss.org/browse/JBIDE-3310
2. https://issues.jboss.org/browse/JBIDE-3173
Environment:
1. IDE: JBoss Developer Studio Version: 7.1.1.GA
2. Server: JBoss EAR 6.2
3. wsprovide: JBossDevStudio711\runtimes\jboss-eap\bin\wsprovide.bat
4. OS: Windows 7 64bit
I managed to reproduce the same issue using JBDS 8.0.0.GA. I've raised a JIRA for this here [JBDS-3265] Unable to create bottom up web service from EJB project - JBoss Issue Tracker