I'm trying to run the tomcat7 demo by running
mvn tomcat7:run
To get this to work I had to change the plugin GAV coordinate and remove the
provided scope for geronimo-jcdi_1.0_spec. Having to do all this makes me
believe that I'm going about things wrong in my attempt to run the demo.
I did
Shouldn't it be servlet 3?
- Romain
Le 18 mars 2012 02:37, Alan D. Cabrera l...@toolazydogs.com a écrit :
This patch seemed to fix it:
(linkedin)[acabrera-mn:trunk 509]$ svn diff
Index: webbeans-tomcat7/pom.xml
===
---
Not sure. I merely picked the first one that I found in a higher level POM.
Regards,
Alan
On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
Shouldn't it be servlet 3?
- Romain
Le 18 mars 2012 02:37, Alan D. Cabrera l...@toolazydogs.com a écrit :
This patch seemed to fix it:
I said it because it is in tomcat 7 module.
- Romain
Le 18 mars 2012 16:04, Alan D. Cabrera l...@toolazydogs.com a écrit :
Not sure. I merely picked the first one that I found in a higher level
POM.
Regards,
Alan
On Mar 18, 2012, at 2:36 AM, Romain Manni-Bucau wrote:
Shouldn't it
Ahh, yes. Did trunk build for you w/out the dep? Just curious.
Regards,
Alan
On Mar 18, 2012, at 8:32 AM, Romain Manni-Bucau wrote:
I said it because it is in tomcat 7 module.
- Romain
Le 18 mars 2012 16:04, Alan D. Cabrera l...@toolazydogs.com a écrit :
Not sure. I merely
Romain is right. The default for CDI is Servlet-3.0 nowadays.
mvn dependency:tree shows that the following jar:
org.apache.tomcat:tomcat-servlet-api:jar:7.0.0:provided
Thus it should compile at least.
LieGrue,
strub
- Original Message -
From: Alan D. Cabrera l...@toolazydogs.com
yup, builds fine over here.
If you like to run it fully blown then start
$ mvn clean install -Ptck -Pjsr330-tck
This will run the full build plus the JSR-299 and JSR-330 TCKs.
LieGrue,
strub
- Original Message -
From: Alan D. Cabrera l...@toolazydogs.com
To:
yes it compiles for me without any change
which error did you get?
- Romain
2012/3/18 Mark Struberg strub...@yahoo.de
Romain is right. The default for CDI is Servlet-3.0 nowadays.
mvn dependency:tree shows that the following jar:
org.apache.tomcat:tomcat-servlet-api:jar:7.0.0:provided
How odd, it now works after I built w/ those profiles. I was previously
getting compile errors about missing Servlet classes. Sorry about the noise!
Regards,
Alan
On Mar 18, 2012, at 9:03 AM, Romain Manni-Bucau wrote:
yes it compiles for me without any change
which error did you get?
np,
maybe an error due to maven while it was getting dependencies. It happens
sometimes (in particular in 3G ;)).
- Romain
2012/3/18 Alan D. Cabrera l...@toolazydogs.com
How odd, it now works after I built w/ those profiles. I was previously
getting compile errors about missing Servlet
10 matches
Mail list logo