-
1. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
pmuir Feb 24, 2010 11:15 AM (in response to alexanderbell)Don't bundle el-api in your application.
-
2. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
alexanderbell Mar 15, 2010 9:14 AM (in response to alexanderbell)Hi,
I don't have any el-api JAR in my application.
I've got only el-ri.jar in my classpath. If I remove that JAR I still get the error mentioned above.Probably it's a problem with Tomcat (6.0.18) classes.
BTW I've upgraded my Weld version to 1.0.1-FINAL but the exception still exits.
Any ideas?
Thanks, Alex
-
3. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
fiorenzino Mar 15, 2010 10:23 AM (in response to alexanderbell)Hi,
http://code.google.com/p/customresolver/source/browse/trunk/customResolver/pom.xml
i used this pom.xml for a project in tomcat, without your problem.
if this can help you..
bye
Fiorenzo
-
4. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
fiorenzino Mar 15, 2010 10:25 AM (in response to alexanderbell)sorry,
i used apache-tomcat-6.0.20.
Fiorenzo
-
5. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
alexanderbell Mar 15, 2010 10:45 AM (in response to alexanderbell)Hi,
I don't use maven. I've downloaded the entire zip file from the download section.
You haven't got any weld-servlet-int JAR referenced in your pom.xml. Actually it doesn't matter. I've removed weld-servlet-int.jar but the exception still occurs.Alex
-
6. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
fiorenzino Mar 15, 2010 10:58 AM (in response to alexanderbell)hi,
those are my libraries in WEB-INF/lib:
antlr-2.7.6.jar asm-1.5.3.jar asm-attrs-1.5.3.jar cal10n-api-0.7.2.jar cdi-api-1.0.jar cglib-2.1_3.jar cglib-nodep-2.1_3.jar commons-beanutils-1.8.0.jar commons-collections-3.2.1.jar commons-digester-2.0.jar commons-io-1.3.2.jar commons-logging-1.1.1.jar dom4j-1.6.1.jar ehcache-1.2.3.jar ejb3-persistence-1.0.2.GA.jar el-impl-2.1.2-b04.jar google-collections-1.0-rc3.jar hibernate-3.2.7.ga.jar hibernate-annotations-3.4.0.GA.jar hibernate-commons-annotations-3.1.0.GA.jar hibernate-core-3.3.0.SP1.jar hibernate-entitymanager-3.4.0.GA.jar hibernate-validator-3.0.0.ga.jar javassist-3.4.GA.jar javax.inject-1.jar jboss-interceptor-1.0.0-CR8.jar jboss-interceptor-api-1.1.jar jsf-api-2.0.3-SNAPSHOT.jar jsf-impl-2.0.3-SNAPSHOT.jar jsr250-api-1.0.jar jta-1.0.1B.jar log4j-1.2.14.jar mysql-connector-java-5.1.9.jar ocpsoft-pretty-faces-2.0.4.jar persistence.context.extension-1.0.jar persistence-api-1.0.jar slf4j-api-1.5.6.jar slf4j-ext-1.5.9.RC1.jar weld-api-1.0.jar weld-core-1.0.0.jar weld-servlet-1.0.1-Final.jar weld-spi-1.0.jar
Fiorenzo
-
7. Re: Problem: 1.0.1-CR2 on Tomcat 6.x
alexanderbell Mar 15, 2010 1:25 PM (in response to alexanderbell)Ok, I made a mistake. I've dropped the weld-se.jar into my WEB-INF/lib. After removing that JAR everything works fine.
With previous weld version that worked ;-)
Alex