are you using eclipse?
|
I'm trying to run the client with the newest jdk but it won't work it only works when i install a earlier version of jdk anyone possibly know why ? thanks.
Exception in thread "main" java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties
at com.thoughtworks.xstream.converters.collections.Pr opertiesConverter.<clinit>(PropertiesConverter.jav a:46)
at com.thoughtworks.xstream.XStream.setupConverters(X Stream.java:647)
at com.thoughtworks.xstream.XStream.<init>(XStream.ja va:445)
at com.thoughtworks.xstream.XStream.<init>(XStream.ja va:385)
at com.thoughtworks.xstream.XStream.<init>(XStream.ja va:332)
at com.client.Client.<clinit>(Client.java:7748)
are you using eclipse?
need help still?
receiving same error! any fix found?
Add the libs folder containing the xstream, commons, etc with "Libraries tab" by right clicking the project in intellij > open module settings.
Also do the same in Modules, click the little + button to add the Jars and Directories > the libs folder.
If in eclipse, I forget now been a bit but pretty sure you just right click project, whatever the settings is then click Libraries and again add External Jars.
Its just missing them so youll have import issues etc.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |