You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
When starting application, this occurs :
... 76 more
Caused by: java.lang.ClassNotFoundException:
javax.persistence.spi.ProviderUtil
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1645)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1491)
... 85 more
09 25, 10 7:53:14 PM org.apache.catalina.core.StandardContext start
Any one have a persitence-api.jar that has ProviderUtil class in it.
I've looked to persistence-api.jar version 1.0 and it doesn't have
this artifact.
Thanks,
Vytautas
unread,
Sep 25, 2010, 1:03:46 PM9/25/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
Hi,
what hibernate and persistence jars are in your classpath? xaloon by
default uses JPA 2 and hibernate 3.5.x
you might be missing persistence 2 api jar in such case.
ferjon
unread,
Sep 25, 2010, 10:30:27 PM9/25/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
The problem was it was using hibernate 3.5.6-FInal which is the
latest. I change the parent POM to only use the 3.5.1-FInal and
everything worked fine again.
Thanks,
Vytautas
unread,
Sep 26, 2010, 2:14:36 AM9/26/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xaloon
Thanks for sharing solution, I'll keep in mind it ;)