On Jul 9, 2008, at 11:03 PM, George Wei wrote:

>
> Dear all,
>
> I've created a web application and deployed it on Tomcat 6.0.x, it  
> works
> fine. Then I tried to deploy the same war file on Resin 3.1.6, I got  
> the
> following error messages:
>
>
> It seems method com.caucho.server.webapp.WebApp.addServlet() tries  
> to call
> org.hibernate.cfg.AnnotationConfiguration.addProperties(), but can  
> not find
> it. In fact, I've checked the API doc of Hibernate Annotations 3.3.0  
> GA,
> this method does NOT exist. So is there some wrong with Resin  
> itself? If
> not, how can I fix this problem? Thanks for any clues.

There's probably an old jar somewhere in your classpath.  If you start  
Resin with -verbose, you'll see the system classpath, which might help  
track down the extra jar.

Resin itself couldn't create that error.  It's due to some class  
compiled against an old version of a method.

-- Scott

>
>
> Regards,
> George
> -- 
> View this message in context: 
> http://www.nabble.com/Error-while-deploying-a-web-application-on-Resin-3.1.6-tp18376474p18376474.html
> Sent from the Resin mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to