[jbosstools-issues] [JBoss JIRA] (JBIDE-10036) Forge and JAX-RS: Project configuration is not up-to-date with pom.xml. Run project configuration update

Pavol Srna (JIRA) jira-events at lists.jboss.org
Mon Jun 4 09:04:18 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-10036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavol Srna closed JBIDE-10036.
------------------------------



Verified in 3.3.0.CR1. Closing.
                
> 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
>            Assignee: Koen Aers
>              Labels: eap6-ux
>             Fix For: 3.3.0.M5
>
>         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

        


More information about the jbosstools-issues mailing list