I'm not using Maven.
I took the jar packages of Cas Server 3.4.2 and I installed them on Glassfish 
2.2.1.

Do I have to use Maven?

Thanks
_________________________________________
Paolo Giammarco / Capgemini / Rome, Italy
Consultant  / Java Factory
e-mail: [email protected]
tel: +39 06231901
_________________________________________
________________________________________
Da: Marvin Addison [[email protected]]
Inviato: venerdì 4 giugno 2010 16.10
A: [email protected]
Oggetto: Re: [cas-user] Configure Cas Server

> java.lang.NoSuchMethodError: 
> javax.persistence.Persistence.getPersistenceUtil()Ljavax/persistence/PersistenceUtil;

Somehow you're including a dependency to the JPA 1.0 API jar instead
of a 2.0 version.  Only the latter has the PersistenceUtil class.
Assuming you're using Maven in some capacity to manage your
customizations, the following command may be helpful:

mvn dependency:list

Please post the output of this command if you continue to have trouble.

M

--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to