-
1. Re: Maven Build Failure For JBoss AS 7 Hello world example
gvanto Nov 19, 2013 7:59 PM (in response to gvanto)Also,
When I import this maven project into Eclipse (Kepler) - the HelloWorldServlet.java class file has some errors in it:
(underlined in red):
@WebServlet (could not resolve to type)
HttpServlet (same error as above)
Should these come up as errors in eclipse? (ie does it matter?) Or should there be jar lib's included in the project setup? (but this still won't solve the maven building of package from the command line).
Very frustrating ... any help would be appreciated - I've downloaded the quickstart example, extracted it, tried building it and it fails ...(I've not changed a single line of code!) very strange
-
2. Re: Maven Build Failure For JBoss AS 7 Hello world example
gvanto Nov 19, 2013 8:22 PM (in response to gvanto)Hmmmm OK, found answer here:
http://stackoverflow.com/questions/20085259/maven-build-failure-for-jboss-as-7-hello-world-example
-
3. Re: Maven Build Failure For JBoss AS 7 Hello world example
sgilda Nov 20, 2013 7:46 AM (in response to gvanto)The main problem is that the page you refer to is obsolete.
The current quickstart information can be found here: JBoss AS Quickstarts
The current helloworld download and instructions can be found here: helloworld: Helloworld Example
The current helloworld tutorial can be found here: CDI + Servlet — Helloworld quickstart
There is a fully configured Maven 'settings.xml' file in this version of the quickstart download. Follow the instructions here and you should not run into any problems: JBoss AS Quickstarts: Configure Maven