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>