Jody Garnett a écrit :
> Justin you should have a different set of dependencies for Java 6; since 
> jaxb is starting to get folded into Java 6 you will get security / class 
> cast exception when trying to mix and match the same "class" between two 
> different classloaders... the JRE gets annoyed when you have classes in 
> your app that are the same.
>
>   
Hi,

It seems you have two versions of JAXB classes in the classpath.
Just a quick verification : Justin what is the java version you use in 
your Eclipse environment ? If you use Java6, what's the update version ?
To use JAXB with a JDK6, you must have a recent update (at least update 
4) of the JDK6, since JAXB classes have appeared in the JDK at this 
update. If it is not the case, try to update the jdk you use in Eclipse. 
Nevertheless you can use JAXB with the earlies version of JDK6, in 
including JAXB jars into the endorsed directory of your JDK.
For JDK5, you can also use JAXB in including the JAXB jars in the 
classpath of your application.

If you use an updated JDK6, you don't need to have a JAXB dependency in 
the classpath.

Could you please give us some more information about how you get this 
error, and what you have in your classpath ?

Cédric.
> Jody
>   
>> Hi all,
>>
>> I am running into problems with the jaxb module conflicting with the 
>> version of jaxb that is depended on by the xml parser. The problem is i 
>> get SecurityException complaining about JAXException:
>>
>> java.lang.SecurityException: class "javax.xml.bind.JAXBException"'s 
>> signer information does not match signer information of other classes in 
>> the same package
>>      
>> It seems to only happen in eclipse. I have also seen the same exception 
>> in GeoServer and was baffled by it... but it seems this is probably the 
>> cause.
>>
>> Any ideas?
>>
>>   
>>     
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to