[jbosstools-issues] [JBoss JIRA] (JBIDE-15796) Deployment error: No servlet class has been specified for servlet javax.ws.rs.core.Application
Koen Aers (JIRA)
jira-events at lists.jboss.org
Thu Nov 7 09:16:04 EST 2013
[ https://issues.jboss.org/browse/JBIDE-15796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921306#comment-12921306 ]
Koen Aers commented on JBIDE-15796:
-----------------------------------
The problem is apparently that no JAX-RS endpoints have been generated.
Adding:
'rest endpoint-from-entity --strategy ROOT_AND_NESTED_DTO --contentType application/json'
will solve the problem. The best place in the scenario to do this is right before the scaffold generation. [~vineet.reynolds] has created FORGEPLUGINS-149 to track this problem. Not sure as to how much priority it will get though.
In the meantime I'm going to resolve this issue.
> Deployment error: No servlet class has been specified for servlet javax.ws.rs.core.Application
> -----------------------------------------------------------------------------------------------
>
> Key: JBIDE-15796
> URL: https://issues.jboss.org/browse/JBIDE-15796
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.1.1.Beta1
> Reporter: Pavol Srna
> Assignee: Koen Aers
> Fix For: 4.1.1.CR1
>
> Attachments: forge-html5.server.log
>
>
> Deployment with error: No servlet class has been specified for servlet javax.ws.rs.core.Application.
> Prepare app in forge console:
> 1) new-project --named testp --type war
> 2) setup persistence (HIBERNATE, JBOSS_AS7)
> 3) scaffold-x setup --scaffoldType angularjs --overwrite
> 4) entity --named Customer
> 5) field string --named name
> Scaffold HTML5:
> * scaffold-x from Customer.java
> Build and deploy on the server.
> See server.log attached for more description.
> I assume this should work out of the box right?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list