Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法正常运行在jdk9之上 #81

Open
1178615156 opened this issue Mar 27, 2018 · 0 comments
Open

无法正常运行在jdk9之上 #81

1178615156 opened this issue Mar 27, 2018 · 0 comments

Comments

@1178615156
Copy link

java version "9.0.4"

java.lang.ClassNotFoundException: sun.misc.Cleaner
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:292)
	at io.undertow.server.DirectByteBufferDeallocator.<clinit>(DirectByteBufferDeallocator.java:23)
	at io.undertow.server.DefaultByteBufferPool.queueIfUnderMax(DefaultByteBufferPool.java:207)
	at io.undertow.server.DefaultByteBufferPool.access$500(DefaultByteBufferPool.java:41)
	at io.undertow.server.DefaultByteBufferPool$ThreadLocalData.finalize(DefaultByteBufferPool.java:300)
	at java.base/java.lang.System$2.invokeFinalize(System.java:2114)
	at java.base/java.lang.ref.Finalizer.runFinalizer(Finalizer.java:102)
	at java.base/java.lang.ref.Finalizer.access$100(Finalizer.java:34)
	at java.base/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:217)
03-27 10:39:12.400 DEBUG c.gtan.repox.config.ConfigPersister akka://repox/user/ConfigPersister

根据 https://stackoverflow.com/questions/46476085/java-lang-classnotfoundexception-sun-misc-cleaner

在尝试将undertow升级到1.4.21.Final; 依旧会产生如下错误

java.nio.file.NoSuchFileException: /root/.repox/storage/temp/1139/repox12109366231358455236.tmp -> /root/.repox/storage/org/apache/commons/commons-compress/1.9
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:401)
	at java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:263)
	at java.base/java.nio.file.Files.move(Files.java:1413)
	at com.gtan.repox.GetMaster$$anonfun$gettingChecksum$1.applyOrElse(GetMaster.scala:219)
	at akka.actor.Actor.aroundReceive(Actor.scala:517)
	at akka.actor.Actor.aroundReceive$(Actor.scala:515)
	at com.gtan.repox.GetMaster.aroundReceive(GetMaster.scala:43)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:527)
	at akka.actor.ActorCell.invoke(ActorCell.scala:496)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
	at akka.dispatch.Mailbox.run(Mailbox.scala:224)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant