请问下 ,目前我也遇到这个问题了 ,重新安装到D盘 还是不行。怎么解决?
D:\Yonghong X+Viewer\tomcat\bin>catalina.bat run
找不到文件
Using CATALINA_BASE: "D:\Yonghong X+Viewer\tomcat"
Using CATALINA_HOME: "D:\Yonghong X+Viewer\tomcat"
Using CATALINA_TMPDIR: "D:\Yonghong X+Viewer\tomcat\temp"
Using JRE_HOME: "C:\Tools\jdk11\jre"
Using CLASSPATH: ";..\webapps\bi\WEB-INF\classes;;D:\Yonghong X+Viewer\Yonghong\product\api.jar;D:\Yonghong X+Viewer\Yonghong\product\product.jar;D:\Yonghong X+Viewer\Yonghong\product\thirds.jar;D:\Yonghong X+Viewer\Yonghong\lib\mongo-java-driver-3.11.0.jar;..\lib\servlet-api.jar;;D:\Yonghong X+Viewer\tomcat\bin\bootstrap.jar;D:\Yonghong X+Viewer\tomcat\bin\tomcat-juli.jar"
Using CATALINA_OPTS: "-Xmx8123m -Xms8123m -XX:MetaspaceSize=256m -XX:G1HeapRegionSize=32m -XX:InitiatingHeapOccupancyPercent=35 -XX:G1ReservePercent=15 -XX:ConcGCThreads=10 -XX:ParallelGCThreads=10 -XX:+ParallelRefProcEnabled -XX:SoftRefLRUPolicyMSPerMB=0 -Xlog:gc*:file=../logs/jvm.log:time:filecount=16 -Djava.awt.headless=true --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED -Djava.awt.headless=false -XX:-OmitStackTraceInFastThrow"
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
WARNING: Unknown module: java.rmi specified to --add-opens
Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Logger
at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:61)
at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:181)
at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:133)
at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:156)
at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:211)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:50)
Caused by: java.lang.ClassNotFoundException: java.util.logging.Logger
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 6 more |