Simply make sure you AREN'T including the annotations JAR in the classpath.

On 8/16/05, Eric Schneider <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm attempting to setup a simple test application with Tapestry
> 4.0.   I'm using the workbench as an example which probably isn't the
> best idea since it makes use of JDK 1.5 annotations.
> 
> Switching to the JDK 1.5 isn't an option for me.   Can someone point
> me to the proper configuration to make the app not use the
> Annotations library? (web.xml?, hivemodule.xml?)
> 
> Thanks!
> Eric
> 
> Here's the trace I get when hitting the app:
> 
> 
> javax.servlet.ServletException:
> Unable to construct service
> tapestry.annotation.AnnotationEnhancementWorker:
> Error building service tapestry.annotation.AnnotationEnhancementWorker:
> Could not load class
> org.apache.tapestry.annotations.AnnotationEnhancementWorker from
> WebappClassLoader
> 
> ....
> 
> org/apache/tapestry/annotations/AnnotationEnhancementWorker
> (Unsupported major.minor version 49.0)
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to