java.lang.NoClassDefFoundError
Christian Schlichtherle
christian at schlichtherle.de
Wed Feb 4 14:26:02 UTC 2015
> Am 04.02.2015 um 15:20 schrieb Alan Bateman <Alan.Bateman at oracle.com>:
>
> On 04/02/2015 14:08, Christian Schlichtherle wrote:
>> Hi,
>>
>> Alan, how could the default file system provider get replaced? AFAIK from reading the source code of the java.nio.file package, it’s hard coded. The root cause exception says the JVM can’t initialize java.nio.file.FileSystems$DefaultFileSystemHolder. I can spot no recursion in the entire stack trace.
>>
>> Lars, I suppose something must be unique to your environment. Maven Central statistics tell me there are more than thousand downloads of TrueZIP components from unique IPs every month, but I have not heard of this problem before nor am I able to reproduce it. Maybe the JDK installation just got corrupted and a simple reinstall would fix it?
> The system property java.nio.file.spi.DefaultFileSystemProvider can be used to set the default file system provider to be something other than the JDK built-in implementation. If TrueZip doesn't support that then ignore my comment as I can't think of any other reason why the built-in implementation could not initialize.
Sorry, I forgot about this detail. However, the root cause exception specifically mentions java.nio.file.FileSystems$DefaultFileSystemHolder, so I suppose the system property hasn’t changed (and no, TrueZIP neither uses nor changes this system property).
Regards,
Christian Schlichtherle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/nio-discuss/attachments/20150204/e09dbc89/signature.asc>
More information about the nio-discuss
mailing list