[
https://issues.jboss.org/browse/JBIDE-10036?page=com.atlassian.jira.plugi...
]
Lincoln Baxter III commented on JBIDE-10036:
--------------------------------------------
That servlet def is not required in a Servlet 3.0 environment. It is automatically
registered AFAIK. If this is not the case, file an issue in FORGE and we can take care of
it.
Forge and JAX-RS: Project configuration is not up-to-date with
pom.xml. Run project configuration update
--------------------------------------------------------------------------------------------------------
Key: JBIDE-10036
URL:
https://issues.jboss.org/browse/JBIDE-10036
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge
Environment: 3.3.M4 (QA version)
Reporter: Burr Sutter
Labels: eap6-ux
Attachments: Forge_JBossTools-3.png, Forge_JBossTools-4.png,
Forge_JBossTools-5.png
Following this Forge "script"
new-project --named forgeProject1 --topLevelPackage com.burrsutter.forgeProject1
persistence setup --provider HIBERNATE --container JBOSS_AS7
I notice that the project is not refresh to show the additional generated files. So I
right-click on the project and select Refresh from the context menu and I get a red x,
opening up the Problems tab tells me that
"Project configuration is not up-to-date with pom.xml. Run project configuration
update".
This message is a challenge - finding 'project configuration update' in the menu
system is difficult. A new Maven user would not know that the right item is
Right-click on the project, Maven -> Update Project Configuration
This step should have happened automatically
After running Update Project Configuration, the next error is
"error: Attribute servlet-name references to javax.ws.rs.core.Application that is
not a servlet"
What was thrown into web.xml
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira