In the top pom.xml I've added the plugin:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.5</version>
</plugin>
But I still get this weird "java.lang.LinkageError: Class javax/el/ELResolver
violates loader constraints".
Is this the right plugin? Is there another dependency that I should use/add?
And what el.version is concerned, I needed to add
<el.version>1.0</el.version>
to the properties section of the top pom.xml, because -if you do not specify
it- you get the following error while building the project:
Missing:
Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925
0452, SWIFT : BBRUBEBB
----------
1) javax.el:el-api:jar:${el.version}
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.el -DartifactId=el-api \
-Dversion=${el.version} -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.el -DartifactId=el-api \
-Dversion=${el.version} -Dpackaging=jar -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.mazda.umt:UMT-core:jar:1.0-SNAPSHOT
2) javax.el:el-api:jar:${el.version}
----------
1 required artifact is missing.
for artifact:
com.mazda.umt:UMT-core:jar:1.0-SNAPSHOT
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible
Sent: woensdag 31 oktober 2007 15:44
To: [email protected]
Subject: Re: [appfuse-user] java.lang.LinkageError: Class javax/el/ELResolver
violates loader constraints
You shouldn't need <el.version> in your classpath as JSF 1.2 does not
need EL in the classpath - it should be included in any containers
that support Servlet 2.5/JSP 2.1.
You might want to make sure you're using Jetty 6.1.5.
Matt
On 10/31/07, Bonami, Christian <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi again,
>
>
>
> Now I get Jetty up and running, the following exception is thrown whenever I
> navigate to http://localhost:8080/
>
>
>
> [INFO] Starting scanner at interval of 3 seconds.
>
> 2007-10-31
> 15:33:37.354:org.apache.jasper.runtime.JspFactoryImpl:WARN:
> Exceptio
>
> n initializing page context
>
> java.lang.LinkageError: Class javax/el/ELResolver violates loader
> constraints
>
> at java.lang.ClassLoader.defineClass1(Native
> Method)
>
> at
> java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
>
> 4)
>
> at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>
> at
> java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>
> at
> java.security.AccessController.doPrivileged(Native Method)
>
> at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>
> at
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL
>
> oader.java:195)
>
> at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassReal
>
> m.java:255)
>
>
>
> Note that I had to add
>
>
>
> <el.version>1.0</el.version>
>
>
>
> to the <properties> section of the top pom.xml, in order to get the project
> built.
>
> Is this the right version or is there something else that I am overlooking?
>
>
>
> KR,
>
> Christian
>
> Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
> VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925
> 0452, SWIFT : BBRUBEBB
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]