users@glassfish.java.net

Re: ClassNotFoundException: Spring, JPA packaged as a .war archive on Glassfish

From: Gordon Yorke <gordon.yorke_at_oracle.com>
Date: Tue, 13 Feb 2007 11:03:36 -0500

Hello, what was the exception, specifically? Can you provide the stack
trace?
 -Gordon

glassfish_at_javadesktop.org wrote:
> Hi,
>
> I also posted this issue over the Spring forum:
> http://forum.springframework.org/showthread.php?p=97510
>
> Basically, when I used Spring and Glassfish's Toplink and packaged the webapp as a .war archive I would get a ClassNotFoundException. Everything worked fine if I re-pakaged it as .ear archive.
>
> If I replaced Toplink with Hibernate JPA implementation, my Spring webapp deployed as a .war archive didn't have any problem.
>
> I want to use Toplink since it came with Glassfish and don't want to load my webapp with Hibernate libs.
>
> I'm not sure if this is a Spring or Glassfish issue, but I have seen many users with the same problem.
> [Message sent by forum member 'tmv' (tmv)]
>
> http://forums.java.net/jive/thread.jspa?messageID=202616
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>