关于IntelliJ IDEA无法创建JVM的问题 1C

最近在一个新的团队工作,但是在导入他们的项目的时候,IntelliJ IDEA出错了,显示无法创建JVM,具体错误提示如下:
图片说明

我使用的Java JDK1.8,IntelliJ 2017,Tomcat 6

1个回答

报错很明显,虚拟机不认识这几个参数。jdk1.8的内存模型变了,没有Perm了。改成MetaspaceSize了。
所以要改成:-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m。或者你用1.7的jdk。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
intellij idea项目已成功部署到服务器,但是没有看到程序执行输出
public class UserDaoImple { public boolean addUser(User user){ System.out.print("没有输出"); try { Class.forName("com.mysql.jdbc.Driver"); String sql="insert into user values(?,?,?,?,?,?)"; String url="jdbc:mysql://localhost:3306/clothing_samplehh?useSSL=true"; Connection connection = DriverManager.getConnection(url,"root","root"); PreparedStatement ps=connection.prepareStatement(sql); ps.setString(1,user.getUserId()); ps.setString(2,user.getUserName()); ps.setString(3,user.getUserTel()); ps.setString(4,user.getUserEmail()); ps.setString(5,user.getUserPassword()); ps.setString(6,user.getUserRegisterDate()); connection.close(); ps.close(); } catch (ClassNotFoundException | SQLException e) { e.printStackTrace(); } System.out.print("还是没有输出"); return true; } } 后台输出内容: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\bin\catalina.bat" run [2018-09-15 12:35:51,994] Artifact Q7:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7" Using CATALINA_HOME: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24" Using CATALINA_TMPDIR: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\temp" Using JRE_HOME: "C:\Program Files\jdk\jdk1.8\jdk1.8.0_151" Using CLASSPATH: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\bin\bootstrap.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\bin\tomcat-juli.jar" 15-Sep-2018 12:35:53.136 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.24 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 27 2017 13:05:30 UTC 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.24.0 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7 15-Sep-2018 12:35:53.138 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\jdk\jdk1.8\jdk1.8.0_151\jre 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_151-b12 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7 15-Sep-2018 12:35:53.139 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7\conf\logging.properties 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 15-Sep-2018 12:35:53.140 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2017.3\system\tomcat\未命名_Q7 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\temp 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3]. 15-Sep-2018 12:35:53.141 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 15-Sep-2018 12:35:53.142 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 15-Sep-2018 12:35:54.156 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m 2 Nov 2017] 15-Sep-2018 12:35:54.317 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 15-Sep-2018 12:35:54.339 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 15-Sep-2018 12:35:54.348 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 15-Sep-2018 12:35:54.348 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 15-Sep-2018 12:35:54.348 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1674 ms 15-Sep-2018 12:35:54.395 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 15-Sep-2018 12:35:54.395 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.24 15-Sep-2018 12:35:54.469 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 15-Sep-2018 12:35:54.479 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 15-Sep-2018 12:35:54.482 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 127 ms Connected to server [2018-09-15 12:35:54,678] Artifact Q7:war exploded: Artifact is being deployed, please wait... 15-Sep-2018 12:35:55.306 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. [2018-09-15 12:35:55,361] Artifact Q7:war exploded: Artifact is deployed successfully [2018-09-15 12:35:55,362] Artifact Q7:war exploded: Deploy took 683 milliseconds 15-Sep-2018 12:36:04.470 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\webapps\manager] 15-Sep-2018 12:36:04.544 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.1\apache-tomcat-8.5.24\webapps\manager] has finished in [74] ms
安装IDEA后第一次运行提示Failed to load JVM.
运行idea提示信息如下: ``` Failed to load JVM DLL D:/IDEA/IntelliJ IDEA 2019.2.2/jbr/bin/server/jvm.dll If you already have a 64-bit JDK installed,define a JAVA_HOME variable in Computer >System Properties>System Setting>Environment Variables. ``` ![图片说明](https://img-ask.csdn.net/upload/201909/11/1568212881_654016.png) 我在cmd输入java -version和java都能正常显示,eclipse也能用,然后运行idea和idea64都是报的这个错,请各位大佬看下怎么弄...
Intellij IDEA + Gradle 搭建Spring源代码,报错,求解决
版本: gradle 4.8.1 JDK 1.8.0\_171 Spring spring-framework-5.0.2.RELEASE 代码已经导入idea了,然后报错如下 ``` Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.8.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- 错误: 找不到或无法加载主类 C:\develop\java\jdk1.8.0_171 ```
Intellij idea的terminal运行突然出现乱码
1 | log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. jvm 1 | 九九月月 19, 2016 3:31:36 下下午午 org.apache.catalina.core.ApplicationContext log jvm 1 | 信信息息: Initializing Spring FrameworkServlet 'view' jvm 1 | 九九月月 19, 2016 3:31:36 下下午午 org.apache.catalina.core.ApplicationContext log jvm 1 | 信信息息: Initializing Spring FrameworkServlet 'service_dispatcher' jvm 1 | 19-Sep-2016 15:31:36.652 INFO [WrapperSimpleAppMain] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8088"] 中文突然都是重叠显示
intellij idea修改scal代码再次运行就报错
Error:scalac: Error: Could not find an output directory for D:\IdeaProjects\scala\src\main\scala\Scala.scala in List((d:\IdeaProjects\scala\target\scala-2.11\resource_managed\test,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\resources,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\target\scala-2.11\resource_managed\main,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\resources,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\target\scala-2.11\src_managed\test,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\scala-2.11,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\scala,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\java,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\target\scala-2.11\src_managed\main,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\scala-2.11,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\scala,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\java,d:\IdeaProjects\scala\target\scala-2.11\classes)) scala.reflect.internal.FatalError: Could not find an output directory for D:\IdeaProjects\scala\src\main\scala\Scala.scala in List((d:\IdeaProjects\scala\target\scala-2.11\resource_managed\test,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\resources,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\target\scala-2.11\resource_managed\main,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\resources,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\target\scala-2.11\src_managed\test,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\scala-2.11,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\scala,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\test\java,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\target\scala-2.11\src_managed\main,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\scala-2.11,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\scala,d:\IdeaProjects\scala\target\scala-2.11\classes), (d:\IdeaProjects\scala\src\main\java,d:\IdeaProjects\scala\target\scala-2.11\classes)) at scala.tools.nsc.settings.MutableSettings$OutputDirs.outputDirFor(MutableSettings.scala:311) at scala.tools.nsc.backend.jvm.BytecodeWriters$class.outputDirectory(BytecodeWriters.scala:26) at scala.tools.nsc.backend.jvm.GenASM.outputDirectory(GenASM.scala:23) at scala.tools.nsc.backend.jvm.BytecodeWriters$class.getFile(BytecodeWriters.scala:41) at scala.tools.nsc.backend.jvm.GenASM.getFile(GenASM.scala:23) at scala.tools.nsc.backend.jvm.GenASM$JBuilder.writeIfNotTooBig(GenASM.scala:531) at scala.tools.nsc.backend.jvm.GenASM$JMirrorBuilder.genMirrorClass(GenASM.scala:2835) at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.emitFor$1(GenASM.scala:193) at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:203) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1500) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1487) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1482) at scala.tools.nsc.Global$Run.compile(Global.scala:1580) at xsbt.CachedCompiler0.run(CompilerInterface.scala:126) at xsbt.CachedCompiler0.run(CompilerInterface.scala:102) at xsbt.CompilerInterface.run(CompilerInterface.scala:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:102) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:48) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41) at org.jetbrains.jps.incremental.scala.local.IdeaIncrementalCompiler.compile(IdeaIncrementalCompiler.scala:29) at org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26) at org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:62) at org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:20) at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319) Information:2015/4/24 10:39 - Compilation completed with 1 error and 0 warnings in 600ms
idea 编译缓慢附上jvm 运行参数,请诸位大神给点建议
# idea 编译项目时,编译慢,没接触过jvm 还请诸位帮忙看一下,最好能说一下原理 ![图片说明](https://img-ask.csdn.net/upload/201904/28/1556419167_613012.png) ## idea gc 状态 ![图片说明](https://img-ask.csdn.net/upload/201904/28/1556420130_400329.png) ## 编译时 jvm gc状态 ![图片说明](https://img-ask.csdn.net/upload/201904/28/1556420164_28517.png)
关于JVM命名空间问题,求助大佬!!!
首先命名空间的概念: 每个类加载器都有自己的命名空间,命名空间由该加载器及所有父加载器所加载的类组成。 在同一个命名空间中,不会出现类的完整名字(包括类的包名)相同的两个类。 在不同的命名空间中,有可能会出现类的完整名字(包括类的包名)相同的两个类。 我举出两种情景: 1、创建一个自定义加载器,加载classpath中的class文件,自定义加载器两个实例分别加载这个class文件,这个时候 命名空间一致 (class文件由父类系统加载器加载) 2、classpath中的class文件删了将其放到电脑桌面位置【也就是系统加载器加载不了最终由自定义加载器加载】,同样两个实例 这个时候,命名空间不一致 (自定义加载器加载) 那么 第一种情况相同命名空间大概可表示为:系统加载器.类名.包名 【有错吗?】 第二种情况的不同命名空间大概可表示为:自定义加载器实例1.类名.包名 以及 自定义加载器实例2.类名.包名 不知我上面是不是理解错了? > 命名空间由该加载器及所有父加载器所加载的类组成。 这句话中的该加载器是指的真正加载这个类的加载器吗? 那这句话又怎么理解,还望大佬指点!
mac idea进去没多久就闪退
进idea没怎样就闪退,然后弹出这个 Process: idea [829] Path: /Applications/IntelliJ IDEA.app/Contents/MacOS/idea Identifier: com.jetbrains.intellij Version: 2019.1.3 (IU-191.7479.19) Code Type: X86-64 (Native) Parent Process: ??? [762] Responsible: idea [829] User ID: 501 Date/Time: 2019-07-02 09:37:20.989 +0800 OS Version: Mac OS X 10.14.3 (18D109) Report Version: 12 Bridge OS Version: 3.3 (16P3133) Anonymous UUID: D6A9AD59-F31C-E5FC-F80F-6AF70E8FF5B4 Time Awake Since Boot: 290 seconds System Integrity Protection: enabled Crashed Thread: 34 Java: AWT-EventQueue-0 2019.1.3#IU-191.7479.19 IDEA, eap:false, Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000001023fa100 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0x1023fa100: __LINKEDIT 00000001023f7000-00000001023fa000 [ 12K] r--/rwx SM=COW /Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/lib/jli/libjli.dylib --> VM_ALLOCATE 00000001023fa000-00000001023fb000 [ 4K] r--/rwx SM=COW VM_ALLOCATE 00000001023fb000-00000001023fc000 [ 4K] r--/r-- SM=PRV Application Specific Information: abort() called Thread 0:: AppKit Thread Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff7702a17a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff7702a6d0 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff49ca3fde __CFRunLoopServiceMachPort + 337 3 com.apple.CoreFoundation 0x00007fff49ca352d __CFRunLoopRun + 1654 4 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 5 com.apple.Foundation 0x00007fff4c0094aa -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 6 libawt_lwawt.dylib 0x000000010a86de27 Java_sun_lwawt_macosx_LWCToolkit_doAWTRunLoopImpl + 256 7 ??? 0x000000010b7ac3a7 0 + 4487562151 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79bffd 0 + 4487495677 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79bffd 0 + 4487495677 12 ??? 0x000000010b7944e7 0 + 4487464167 13 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 14 libjvm.dylib 0x00000001048e052a jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 748 15 libjvm.dylib 0x00000001048d0758 jni_CallObjectMethodV + 248 16 JavaNativeFoundation 0x00007fff4de68758 JNFCallObjectMethod + 175 17 libawt_lwawt.dylib 0x000000010a83bfaf -[AWTView selectedRange] + 102 18 com.apple.AppKit 0x00007fff47597ca5 -[NSTextInputContext(NSInputContext_WithCompletion) selectedRangeWithCompletionHandler:] + 95 19 com.apple.AppKit 0x00007fff4751d7f3 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1528 20 com.apple.AppKit 0x00007fff4751d185 _NSTSMEventHandler + 306 21 com.apple.HIToolbox 0x00007fff48f37af9 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1502 22 com.apple.HIToolbox 0x00007fff48f36e36 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371 23 com.apple.HIToolbox 0x00007fff48f36cbc SendEventToEventTargetWithOptions + 45 24 com.apple.HIToolbox 0x00007fff48f9f730 SendTSMEvent_WithCompletionHandler + 383 25 com.apple.HIToolbox 0x00007fff49142433 __SendTextInputEvent_WithCompletionHandler_block_invoke + 489 26 com.apple.HIToolbox 0x00007fff4914081c SendTextInputEvent_WithCompletionHandler + 1130 27 com.apple.HIToolbox 0x00007fff491a651f -[IMKInputSession _postEvent:completionHandler:] + 170 28 com.apple.HIToolbox 0x00007fff491bb49a -[IMKInputSession selectedRange_withCompletionHandler:] + 288 29 com.apple.HIToolbox 0x00007fff491a6e3f __49-[IMKInputSession imkxpc_selectedRangeWithReply:]_block_invoke + 470 30 com.apple.CoreFoundation 0x00007fff49ce0c37 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 31 com.apple.CoreFoundation 0x00007fff49ca3c6d __CFRunLoopDoBlocks + 395 32 com.apple.CoreFoundation 0x00007fff49ca39c9 __CFRunLoopRun + 2834 33 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 34 com.apple.HIToolbox 0x00007fff48f85883 -[IMKInputSessionXPCInvocation invocationAwaitXPCReply] + 551 35 com.apple.HIToolbox 0x00007fff49187e8f -[IMKClient menuWithCompletionHandler:] + 2658 36 com.apple.HIToolbox 0x00007fff491519f7 IMKInputSessionGetMenuIntoMenuWithCompletionHandler + 132 37 com.apple.HIToolbox 0x00007fff491510e9 GetInputMethodInstanceMenu_IntoMenu_WithCompletionHandler + 122 38 com.apple.HIToolbox 0x00007fff49144eb6 utTryToSetupInputMethodMenu + 292 39 com.apple.HIToolbox 0x00007fff49144d04 __utSetupInputMethodMenuFromDeferredBlock_block_invoke + 196 40 com.apple.CoreFoundation 0x00007fff49ce0c37 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 41 com.apple.CoreFoundation 0x00007fff49ca3c6d __CFRunLoopDoBlocks + 395 42 com.apple.CoreFoundation 0x00007fff49ca336b __CFRunLoopRun + 1204 43 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 44 com.apple.HIToolbox 0x00007fff48f39ab5 RunCurrentEventLoopInMode + 293 45 com.apple.HIToolbox 0x00007fff48f396f4 ReceiveNextEventCommon + 371 46 com.apple.HIToolbox 0x00007fff48f39568 _BlockUntilNextEventMatchingListInModeWithFilter + 64 47 com.apple.AppKit 0x00007fff471f4363 _DPSNextEvent + 997 48 com.apple.AppKit 0x00007fff471f3102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 49 libosxapp.dylib 0x000000010a8f82dc -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124 50 com.apple.AppKit 0x00007fff471ed165 -[NSApplication run] + 699 51 libosxapp.dylib 0x000000010a8f7f26 +[NSApplicationAWT runAWTLoopWithApp:] + 156 52 libawt_lwawt.dylib 0x000000010a87ee5b -[AWTStarter starter:] + 905 53 com.apple.Foundation 0x00007fff4c09ebab __NSThreadPerformPerform + 327 54 com.apple.CoreFoundation 0x00007fff49cc0395 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 55 com.apple.CoreFoundation 0x00007fff49cc033b __CFRunLoopDoSource0 + 108 56 com.apple.CoreFoundation 0x00007fff49ca3dd1 __CFRunLoopDoSources0 + 195 57 com.apple.CoreFoundation 0x00007fff49ca337a __CFRunLoopRun + 1219 58 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 59 com.jetbrains.intellij 0x000000010237ee0d main + 336 60 libdyld.dylib 0x00007fff76ef0ed9 start + 1 Thread 35:: Java: TimerQueue 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c29890c 0 + 4499015948 6 ??? 0x000000010b79c042 0 + 4487495746 7 ??? 0x000000010b7944e7 0 + 4487464167 8 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 9 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 10 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 11 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 12 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 13 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 14 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 15 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 16 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 17 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 36:: Java: AWT-SelectorPerformer pool-1-thread-1 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409d8 Parker::park(bool, long) + 510 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddabc 0 + 4505590460 6 ??? 0x000000010cd06374 0 + 4509950836 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79c042 0 + 4487495746 9 ??? 0x000000010b79bd80 0 + 4487495040 10 ??? 0x000000010b7944e7 0 + 4487464167 11 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 12 libjvm.dylib 0x00000001049097fa JVM_DoPrivileged + 1208 13 ??? 0x000000010b7ac3a7 0 + 4487562151 14 ??? 0x000000010b79bd80 0 + 4487495040 15 ??? 0x000000010b79c042 0 + 4487495746 16 ??? 0x000000010b7944e7 0 + 4487464167 17 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 18 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 19 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 20 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 21 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 22 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 23 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 24 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 25 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 26 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 37:: Java: fsnotifier 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a3fd12 os::PlatformEvent::park() + 192 3 libjvm.dylib 0x0000000104a380f5 ObjectMonitor::wait(long, bool, Thread*) + 763 4 libjvm.dylib 0x0000000104aeff88 ObjectSynchronizer::wait(Handle, long, Thread*) + 202 5 libjvm.dylib 0x000000010490abbb JVM_MonitorWait + 156 6 ??? 0x000000010ba02468 0 + 4490011752 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79ba40 0 + 4487494208 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79c042 0 + 4487495746 12 ??? 0x000000010b79bffd 0 + 4487495677 13 ??? 0x000000010b79bffd 0 + 4487495677 14 ??? 0x000000010b79c042 0 + 4487495746 15 ??? 0x000000010b79be54 0 + 4487495252 16 ??? 0x000000010b79c042 0 + 4487495746 17 ??? 0x000000010b79bffd 0 + 4487495677 18 ??? 0x000000010b79c042 0 + 4487495746 19 ??? 0x000000010b7944e7 0 + 4487464167 20 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 21 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 22 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 23 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 24 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 25 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 26 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 27 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 28 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 29 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 38:: Java: BaseDataReader: output stream of fsnotifier 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010bf19e42 0 + 4495351362 4 ??? 0x000000010befba64 0 + 4495227492 Thread 39:: Java: BaseDataReader: error stream of fsnotifier 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010b7ac3a7 0 + 4487562151 4 ??? 0x000000010b79ba40 0 + 4487494208 5 ??? 0x000000010c13eaa4 0 + 4497599140 6 ??? 0x000000010b79b7d0 0 + 4487493584 7 ??? 0x000000010b79b7d0 0 + 4487493584 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79c042 0 + 4487495746 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79bffd 0 + 4487495677 12 ??? 0x000000010b79c042 0 + 4487495746 13 ??? 0x000000010b79be54 0 + 4487495252 14 ??? 0x000000010b79c042 0 + 4487495746 15 ??? 0x000000010b79bffd 0 + 4487495677 16 ??? 0x000000010b79c042 0 + 4487495746 17 ??? 0x000000010b7944e7 0 + 4487464167 18 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 19 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 20 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 21 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 22 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 23 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 24 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 25 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 26 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 27 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 40:: Java: FeatureUsageFileEventLogger 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409d8 Parker::park(bool, long) + 510 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c28760c 0 + 4498945548 6 ??? 0x000000010cd06374 0 + 4509950836 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79c042 0 + 4487495746 9 ??? 0x000000010b7944e7 0 + 4487464167 10 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 11 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 12 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 13 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 14 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 15 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 16 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 17 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 18 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 19 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 41:: Java: Netty Builtin Server 2 0 libsystem_kernel.dylib 0x00007fff77030716 kevent + 10 1 libnio.dylib 0x000000010a4679e8 Java_sun_nio_ch_KQueueArrayWrapper_kevent0 + 98 2 ??? 0x000000010b7ac3a7 0 + 4487562151 3 ??? 0x000000010b79ba40 0 + 4487494208 4 ??? 0x000000010b79ba40 0 + 4487494208 5 ??? 0x000000010b79ba40 0 + 4487494208 6 ??? 0x000000010b79ba40 0 + 4487494208 7 ??? 0x000000010b79ba40 0 + 4487494208 8 ??? 0x000000010b79ba40 0 + 4487494208 9 ??? 0x000000010b79bffd 0 + 4487495677 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79c042 0 + 4487495746 12 ??? 0x000000010b7944e7 0 + 4487464167 13 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 14 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 15 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 16 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 17 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 18 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 19 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 20 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 21 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 22 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 42:: Java: process reaper 0 libsystem_kernel.dylib 0x00007fff7702f2d2 __wait4 + 10 1 libjava.dylib 0x00000001050fe0db Java_java_lang_UNIXProcess_waitForProcessExit + 29 2 ??? 0x000000010b7ac3a7 0 + 4487562151 3 ??? 0x000000010b79ba40 0 + 4487494208 4 ??? 0x000000010b79bffd 0 + 4487495677 5 ??? 0x000000010b79c042 0 + 4487495746 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 43:: Java: java 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a3fd12 os::PlatformEvent::park() + 192 3 libjvm.dylib 0x0000000104a380f5 ObjectMonitor::wait(long, bool, Thread*) + 763 4 libjvm.dylib 0x0000000104aeff88 ObjectSynchronizer::wait(Handle, long, Thread*) + 202 5 libjvm.dylib 0x000000010490abbb JVM_MonitorWait + 156 6 ??? 0x000000010ba02468 0 + 4490011752 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79ba40 0 + 4487494208 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79c042 0 + 4487495746 12 ??? 0x000000010b79bffd 0 + 4487495677 13 ??? 0x000000010b79bffd 0 + 4487495677 14 ??? 0x000000010b79c042 0 + 4487495746 15 ??? 0x000000010cb0c3d4 0 + 4507878356 16 ??? 0x000000010b79bffd 0 + 4487495677 17 ??? 0x000000010b79c042 0 + 4487495746 18 ??? 0x000000010b7944e7 0 + 4487464167 19 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 20 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 21 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 22 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 23 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 24 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 25 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 26 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 27 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 28 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 44:: Java: BaseDataReader: output stream of java 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010bf19e42 0 + 4495351362 4 ??? 0x000000010befba64 0 + 4495227492 Thread 45:: Java: BaseDataReader: error stream of java 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010bf19e42 0 + 4495351362 4 ??? 0x000000010befba64 0 + 4495227492 Thread 46:: Java: ApplicationImpl pooled thread 4 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddbc4 0 + 4505590724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 47:: Java: ApplicationImpl pooled thread 5 0 libsystem_kernel.dylib 0x00007fff7702a282 swtch_pri + 10 1 libsystem_pthread.dylib 0x00007fff770e6ebe sched_yield + 11 2 libjvm.dylib 0x0000000104903c49 JVM_Yield + 87 3 ??? 0x000000010cef682c 0 + 4511983660 4 ??? 0x000000010bcd9534 0 + 4492989748 Thread 48:: Java: JobScheduler FJ pool 1/3 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010b79bffd 0 + 4487495677 6 ??? 0x000000010b79b7d0 0 + 4487493584 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 49:: Java: ApplicationImpl pooled thread 6 0 libsystem_kernel.dylib 0x00007fff7702a282 swtch_pri + 10 1 libsystem_pthread.dylib 0x00007fff770e6ebe sched_yield + 11 2 libjvm.dylib 0x0000000104903c49 JVM_Yield + 87 3 ??? 0x000000010cef682c 0 + 4511983660 4 ??? 0x000000010bcd9534 0 + 4492989748 Thread 50:: Java: ApplicationImpl pooled thread 7 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddbc4 0 + 4505590724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 51:: Java: ApplicationImpl pooled thread 8 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddbc4 0 + 4505590724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 52:: Java: ApplicationImpl pooled thread 9 0 libsystem_kernel.dylib 0x00007fff7702d3e6 __recvfrom + 10 1 libnet.dylib 0x000000010a47fa68 NET_Read + 152 2 libnet.dylib 0x000000010a47e83f Java_java_net_SocketInputStream_socketRead0 + 624 3 ??? 0x000000010b7ac3a7 0 + 4487562151 4 ??? 0x000000010b79ba40 0 + 4487494208 5 ??? 0x000000010b79ba40 0 + 4487494208 6 ??? 0x000000010b79ba40 0 + 4487494208 7 ??? 0x000000010cfde0c8 0 + 4512932040 Thread 53:: Java: ApplicationImpl pooled thread 10 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010d6f9cbc 0 + 4520385724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 221 External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 113 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=426.1M resident=0K(0%) swapped_out_or_unallocated=426.1M(100%) Writable regions: Total=828.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=828.4M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= ATS (font support) 32.0M 6 ATS (font support) (reserved) 4K 2 reserved VM address space (unallocated) Accelerate framework 384K 4 Activity Tracing 256K 2 CG backing stores 1056K 4 CG image 336K 5 CoreAnimation 588K 17 CoreGraphics 8K 2 CoreImage 24K 3 CoreUI image data 1656K 16 CoreUI image file 516K 8 Dispatch continuations 8192K 2 Foundation 4K 2 Image IO 256K 2 Kernel Alloc Once 8K 2 MALLOC 199.9M 89 MALLOC guard page 32K 8 Memory Tag 242 12K 2 OpenGL GLSL 128K 3 STACK GUARD 820K 78 Stack 83.6M 78 Stack Guard 56.2M 65 VM_ALLOCATE 2.1G 98 VM_ALLOCATE (reserved) 46.1M 3 reserved VM address space (unallocated) __DATA 28.9M 289 __FONT_DATA 4K 2 __GLSLBUILTINS 5176K 2 __LINKEDIT 220.3M 27 __TEXT 205.8M 288 __UNICODE 564K 2 mapped file 1.7G 835 shared memory 676K 14 =========== ======= ======= TOTAL 4.7G 1928 TOTAL, minus reserved VM space 4.7G 1928 Model: MacBookAir8,1, BootROM 220.240.2.0.0 (iBridge: 16.16.3133.0.0,0), 2 processors, Intel Core i5, 1.6 GHz, 8 GB, SMC Graphics: kHW_IntelUHDGraphics617Item, Intel UHD Graphics 617, Built-In Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3634443450512D3039 Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3634443450512D3039 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x843), wl0: Oct 11 2018 22:36:55 version 9.141.4.0.32.6.23 FWID 01-3d163180 Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB 3.0 Bus USB Device: iBridge Bus USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: iBridge ALS USB Device: iBridge FaceTime HD Camera (Built-in) USB Device: iBridge Thunderbolt Bus: MacBook Air, Apple Inc., 34.6 用idea里MacOS下的idea打开,控制台输出的 2019-07-02 09:45:52.042 idea[1732:22393] allVms required 1.8*,1.8+ 2019-07-02 09:45:52.046 idea[1732:22396] Value of IDEA_VM_OPTIONS is (null) 2019-07-02 09:45:52.046 idea[1732:22396] fullFileName is: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 2019-07-02 09:45:52.046 idea[1732:22396] fullFileName exists: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 2019-07-02 09:45:52.046 idea[1732:22396] Processing VMOptions file at /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 2019-07-02 09:45:52.047 idea[1732:22396] Done thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: ()', libcore/result.rs:945:5 note: Run with `RUST_BACKTRACE=1` for a backtrace. Abort trap: 6 logout Saving session... ...saving history...truncating history files... ...completed.
Gradle project sync failed 绝非老问题,我试过了各种方法均未成功
Gradle project sync failed.Basic functionality(e.e. edit... Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- idea.log 2018-01-18 20:16:52,280 [se-915-b01] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 2018-01-18 20:16:52,284 [se-915-b01] INFO - #com.intellij.idea.Main - IDE: Android Studio (build #AI-171.4443003, 10 Nov 2017 02:49) 2018-01-18 20:16:52,284 [se-915-b01] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64) 2018-01-18 20:16:52,284 [se-915-b01] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-915-b01 (JetBrains s.r.o) 2018-01-18 20:16:52,284 [se-915-b01] INFO - #com.intellij.idea.Main - JVM: 25.152-b01 (OpenJDK 64-Bit Server VM) 2018-01-18 20:16:52,287 [se-915-b01] INFO - #com.intellij.idea.Main - JVM Args: -Xms256m -Xmx1280m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djna.nosys=true -Djna.boot.library.path= -da -Djb.vmOptionsFile=C:\Program Files\Android\Android Studio\bin\studio64.exe.vmoptions -Xbootclasspath/a:C:\Program Files\Android\Android Studio\lib\boot.jar -Didea.platform.prefix=AndroidStudio -Didea.jre.check=true -Didea.paths.selector=AndroidStudio3.0 -XX:ErrorFile=C:\Users\mjj\java_error_in_studio_%p.log -XX:HeapDumpPath=C:\Users\mjj\java_error_in_studio.hprof gradle.properties 只有下面一项 org.gradle.jvmargs=-Xmx1536m 已尝试的解决办法均未成功: 1. 彻底干净的卸载Android Studio,重装,问题重现。 2. 修改 org.gradle.jvmargs=-Xmx1536m 为 512 或 1028,无用. 3. 让防火墙放行Android Studio,关闭防火墙,电脑上还有电脑管家,没有发现异常。 4. 查阅https://docs.gradle.org 第9、12章,均未找到解决办法。 5. 我的C盘空间有100G,但Windows10 + Android Studio 之后就满了,我用分区助手调整为400G,Genymotion不能启动了,之前也没有成功运行过虚拟机。彻底卸载重装后能启动了,注册到期,但仍然能有成功运行虚拟机。重装后DB Browser for SQLite 仍然不能运行。重装Eclipse后 不能安装插件,Intellij IDEA 也有问题,暂不能准确描述。 老问题: Android 虚拟机不能启动 Emulator: Process finished with exit code -1073741819 (0xC0000005) 我尝试下载了所有的镜像、有带google API 的,也有不带的。曾经有几次能启动不带Google API 的镜像。我帖子介绍说用户家目录中不能有中文,我按知乎上的方法更改了家目录,不成功。我切换到其它用户目录下仍然出现同样的问题,包括原始用户名为拼音的用户。
从同事能运行的eclipse导入到IDEA的项目配置过tomcat后报严重 [RMI TCP Connection(3)-127.0.0.1] 错误
"C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\catalina.bat" run [2020-01-04 01:22:07,300] Artifact susong:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\cd\.IntelliJIdea2018.1\system\tomcat\Unnamed_wuranyuan" Using CATALINA_HOME: "C:\Program Files\Apache Software Foundation\Tomcat 8.0" Using CATALINA_TMPDIR: "C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_80" Using CLASSPATH: "C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\tomcat-juli.jar" 04-Jan-2020 13:22:13.122 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.47 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 29 2017 13:46:41 UTC 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.47.0 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 7 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk1.7.0_80\jre 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.7.0_80-b15 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\cd\.IntelliJIdea2018.1\system\tomcat\Unnamed_wuranyuan 04-Jan-2020 13:22:13.125 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 8.0 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\cd\.IntelliJIdea2018.1\system\tomcat\Unnamed_wuranyuan\conf\logging.properties 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.0\endorsed 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\cd\.IntelliJIdea2018.1\system\tomcat\Unnamed_wuranyuan 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.0 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp 04-Jan-2020 13:22:13.126 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_80\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\SMART Technologies\Education Software\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\CADSeePlus;F:\software\ANDROID\android-sdk-windows\platform-tools;E:\opencv\opencv\build\x64\vc12\bin;E:\opencv\opencv\build\x86\vc12\bin;C:\Program Files (x86)\税务证书应用客户端;.\Library;.\Security\BiSafe;.\Security\Koal;C:\Users\cd\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\jdk1.8.0_131\bin;D:\Program Files\Apache\maven\bin;. 04-Jan-2020 13:22:13.227 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 04-Jan-2020 13:22:13.256 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 04-Jan-2020 13:22:13.259 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 04-Jan-2020 13:22:13.270 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 04-Jan-2020 13:22:13.270 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 439 ms 04-Jan-2020 13:22:13.296 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina 04-Jan-2020 13:22:13.296 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47 04-Jan-2020 13:22:13.306 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 04-Jan-2020 13:22:13.327 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 04-Jan-2020 13:22:13.343 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 72 ms Connected to server [2020-01-04 01:22:13,389] Artifact susong:war exploded: Artifact is being deployed, please wait... 04-Jan-2020 13:22:17.320 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1733) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$2.run(Transport.java:202) at sun.rmi.transport.Transport$2.run(Transport.java:199) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:198) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2509) at java.lang.Class.getDeclaredFields(Class.java:1819) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:86) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:63) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:336) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:786) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:307) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5213) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ... 44 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.ConfigurationException at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1339) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) ... 58 more 04-Jan-2020 13:22:17.327 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method manageApp java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1733) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [2020-01-04 01:22:17,378] Artifact susong:war exploded: Error during artifact deployment. See server log for details. at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$2.run(Transport.java:202) at sun.rmi.transport.Transport$2.run(Transport.java:199) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:198) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 04-Jan-2020 13:22:17.328 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method createStandardContext javax.management.RuntimeOperationsException: Exception invoking method manageApp at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:308) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$2.run(Transport.java:202) at sun.rmi.transport.Transport$2.run(Transport.java:199) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:198) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1733) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) ... 35 more 04-Jan-2020 13:22:23.307 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager 04-Jan-2020 13:22:23.405 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager has finished in 98 ms "C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\catalina.bat" stop Using CATALINA_BASE: "C:\Users\cd\.IntelliJIdea2018.1\system\tomcat\Unnamed_wuranyuan" Using CATALINA_HOME: "C:\Program Files\Apache Software Foundation\Tomcat 8.0" Using CATALINA_TMPDIR: "C:\Program Files\Apache Software Foundation\Tomcat 8.0\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_80" Using CLASSPATH: "C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\tomcat-juli.jar" 04-Jan-2020 13:26:09.457 信息 [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance. 04-Jan-2020 13:26:09.458 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"] 04-Jan-2020 13:26:09.515 信息 [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"] 04-Jan-2020 13:26:09.567 信息 [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina 04-Jan-2020 13:26:09.578 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"] 04-Jan-2020 13:26:09.580 信息 [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"] 04-Jan-2020 13:26:09.581 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"] 04-Jan-2020 13:26:09.581 信息 [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"] Disconnected from server
idea中启动tomcat问题
G:\java\tomcat\apache-tomcat-7.0.68\bin\catalina.bat run [2016-03-15 03:56:16,087] Artifact JavaWeb:war exploded: Server is not connected. Deploy is not available. Using CATALINA_BASE: "C:\Users\123\.IntelliJIdea15\system\tomcat\Unnamed_JavaWeb_3" Using CATALINA_HOME: "G:\java\tomcat\apache-tomcat-7.0.68" Using CATALINA_TMPDIR: "G:\java\tomcat\apache-tomcat-7.0.68\temp" Using JRE_HOME: "G:\java\jdk1.8.0_73" Using CLASSPATH: "G:\java\tomcat\apache-tomcat-7.0.68\bin\bootstrap.jar;G:\java\tomcat\apache-tomcat-7.0.68\bin\tomcat-juli.jar" 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.68 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Feb 8 2016 20:25:54 UTC 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.68.0 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 7 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.1 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: amd64 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: G:\java\jdk1.8.0_73\jre 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.8.0_73-b02 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: C:\Users\123\.IntelliJIdea15\system\tomcat\Unnamed_JavaWeb_3 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: G:\java\tomcat\apache-tomcat-7.0.68 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcom.sun.management.jmxremote= 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.config.file=C:\Users\123\.IntelliJIdea15\system\tomcat\Unnamed_JavaWeb_3\conf\logging.properties 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=G:\java\tomcat\apache-tomcat-7.0.68\endorsed 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=C:\Users\123\.IntelliJIdea15\system\tomcat\Unnamed_JavaWeb_3 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=G:\java\tomcat\apache-tomcat-7.0.68 三月 15, 2016 3:56:19 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.io.tmpdir=G:\java\tomcat\apache-tomcat-7.0.68\temp 三月 15, 2016 3:56:19 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: Loaded APR based Apache Tomcat Native library 1.2.4 using APR version 1.5.1. 三月 15, 2016 3:56:19 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 三月 15, 2016 3:56:20 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.2e 3 Dec 2015) 三月 15, 2016 3:56:21 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8080"] 三月 15, 2016 3:56:21 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 三月 15, 2016 3:56:21 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 2415 ms 三月 15, 2016 3:56:21 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 三月 15, 2016 3:56:21 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.68 三月 15, 2016 3:56:21 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-apr-8080"] 三月 15, 2016 3:56:21 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-apr-8009"] 三月 15, 2016 3:56:21 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 164 ms Connected to server [2016-03-15 03:56:21,641] Artifact JavaWeb:war exploded: Artifact is being deployed, please wait... 三月 15, 2016 3:56:22 下午 org.apache.catalina.deploy.WebXml setVersion 警告: Unknown version string [3.1]. Default version will be used. [2016-03-15 03:56:22,452] Artifact JavaWeb:war exploded: Artifact is deployed successfully [2016-03-15 03:56:22,452] Artifact JavaWeb:war exploded: Deploy took 811 milliseconds 三月 15, 2016 3:56:31 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory G:\java\tomcat\apache-tomcat-7.0.68\webapps\manager 三月 15, 2016 3:56:31 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory G:\java\tomcat\apache-tomcat-7.0.68\webapps\manager has finished in 185 ms
用idea启动Tomcat卡住
``` D:\Tomcat\bin\catalina.bat run [2019-07-30 04:11:29,457] Artifact Dome:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2019.1\system\tomcat\Tomcat_9_0_19_untitled1_8" Using CATALINA_HOME: "D:\Tomcat" Using CATALINA_TMPDIR: "D:\Tomcat\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_201" Using CLASSPATH: "D:\Tomcat\bin\bootstrap.jar;D:\Tomcat\bin\tomcat-juli.jar" 30-Jul-2019 16:11:34.837 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/9.0.22 30-Jul-2019 16:11:34.849 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏋勫缓: Jul 4 2019 14:20:06 UTC 30-Jul-2019 16:11:34.850 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.22.0 30-Jul-2019 16:11:34.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 30-Jul-2019 16:11:34.857 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰: 10.0 30-Jul-2019 16:11:34.858 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 缁�.閫�: amd64 30-Jul-2019 16:11:34.859 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 鐜鍙橀噺: C:\Program Files\Java\jdk1.8.0_201\jre 30-Jul-2019 16:11:34.859 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 鐗堟湰: 1.8.0_201-b09 30-Jul-2019 16:11:34.860 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.渚涘簲鍟�: Oracle Corporation 30-Jul-2019 16:11:34.861 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2019.1\system\tomcat\Tomcat_9_0_19_untitled1_8 30-Jul-2019 16:11:34.861 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Tomcat 30-Jul-2019 16:11:34.874 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2019.1\system\tomcat\Tomcat_9_0_19_untitled1_8\conf\logging.properties 30-Jul-2019 16:11:34.875 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 30-Jul-2019 16:11:34.876 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 30-Jul-2019 16:11:34.877 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 30-Jul-2019 16:11:34.883 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 30-Jul-2019 16:11:34.886 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\Administrator\.IntelliJIdea2019.1\system\tomcat\Tomcat_9_0_19_untitled1_8\jmxremote.password 30-Jul-2019 16:11:34.887 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\Administrator\.IntelliJIdea2019.1\system\tomcat\Tomcat_9_0_19_untitled1_8\jmxremote.access 30-Jul-2019 16:11:34.888 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 30-Jul-2019 16:11:34.893 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 30-Jul-2019 16:11:34.897 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 30-Jul-2019 16:11:34.898 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 30-Jul-2019 16:11:34.903 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2019.1\system\tomcat\Tomcat_9_0_19_untitled1_8 30-Jul-2019 16:11:34.917 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Tomcat 30-Jul-2019 16:11:34.917 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Tomcat\temp 30-Jul-2019 16:11:34.918 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_201\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\app\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;F:\MySQL5.6\mysql-5.6.41\bin;C:\Program Files\Java\jdk1.8.0_201\bin;C:\Program Files\Java\jdk1.8.0_201\jer\bin;D:\Tomcat\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;.] 30-Jul-2019 16:11:36.136 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"] 30-Jul-2019 16:11:36.239 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["ajp-nio-8009"] 30-Jul-2019 16:11:36.249 淇℃伅 [main] org.apache.catalina.startup.Catalina.load 鏈嶅姟鍣ㄥ湪[2,192]姣鍐呭垵濮嬪寲 30-Jul-2019 16:11:36.374 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 30-Jul-2019 16:11:36.375 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.22] 30-Jul-2019 16:11:36.407 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"http-nio-8080"] 30-Jul-2019 16:11:36.455 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"ajp-nio-8009"] 30-Jul-2019 16:11:36.478 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in [227] milliseconds Connected to server [2019-07-30 04:11:36,826] Artifact Dome:war exploded: Artifact is being deployed, please wait... [2019-07-30 04:11:36,856] Artifact Dome:war exploded: Error during artifact deployment. See server log for details. [2019-07-30 04:11:36,860] Artifact Dome:war exploded: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: F:\Y2\MVC\untitled1\out\artifacts\Dome_war_exploded not found for the web module. 30-Jul-2019 16:11:46.463 淇℃伅 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory 鎶妛eb 搴旂敤绋嬪簭閮ㄧ讲鍒扮洰褰� [D:\Tomcat\webapps\manager] 30-Jul-2019 16:11:47.435 淇℃伅 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Tomcat\webapps\manager] has finished in [972] ms ```
jmockit支持java11以及gradle5.5
Jmockit用的是version是1.3.0 一直报Can not attach to current VM 只能在VM options中配置-Djdk.attach.allowAttachSelf=true解决 有没有更好的方法 另外 gradle如何设置JVM options ![图片说明](https://img-ask.csdn.net/upload/201912/17/1576587387_904160.png)
IDEA Struts2项目 启动tomcat失败
## **项目是通过勾选web application 和Struts2生成的,lib是Struts2自动下载的。** ## **尝试了通过本地使用从官网下载的Struts2 jar文件也不行** ## **把jar依赖文件添加到WEB-INF/lib中也不行** ## ## **希望大佬解答** 下面是错误信息 D:\Software\apache-tomcat-9.0.27\bin\catalina.bat run [2019-11-19 08:13:32,924] Artifact newtest3:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\zouha\.IntelliJIdea2019.1\system\tomcat\Unnamed_newtest3" Using CATALINA_HOME: "D:\Software\apache-tomcat-9.0.27" Using CATALINA_TMPDIR: "D:\Software\apache-tomcat-9.0.27\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_221" Using CLASSPATH: "D:\Software\apache-tomcat-9.0.27\bin\bootstrap.jar;D:\Software\apache-tomcat-9.0.27\bin\tomcat-juli.jar" 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.服务器版本: Apache Tomcat/9.0.27 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 服务器构建: Oct 7 2019 09:57:22 UTC 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.27.0 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.版本: 10.0 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log 架构: amd64 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 环境变量: C:\Program Files\Java\jdk1.8.0_221\jre 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM 版本: 1.8.0_221-b11 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.供应商: Oracle Corporation 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\zouha\.IntelliJIdea2019.1\system\tomcat\Unnamed_newtest3 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Software\apache-tomcat-9.0.27 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\zouha\.IntelliJIdea2019.1\system\tomcat\Unnamed_newtest3\conf\logging.properties 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\zouha\.IntelliJIdea2019.1\system\tomcat\Unnamed_newtest3\jmxremote.password 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\zouha\.IntelliJIdea2019.1\system\tomcat\Unnamed_newtest3\jmxremote.access 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\zouha\.IntelliJIdea2019.1\system\tomcat\Unnamed_newtest3 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Software\apache-tomcat-9.0.27 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Software\apache-tomcat-9.0.27\temp 19-Nov-2019 20:13:34.763 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0]. 19-Nov-2019 20:13:34.778 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 19-Nov-2019 20:13:34.778 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 19-Nov-2019 20:13:34.794 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019] 19-Nov-2019 20:13:34.997 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["http-nio-8080"] 19-Nov-2019 20:13:35.028 信息 [main] org.apache.coyote.AbstractProtocol.init 初始化协议处理器 ["ajp-nio-8009"] 19-Nov-2019 20:13:35.028 信息 [main] org.apache.catalina.startup.Catalina.load 服务器在[465]毫秒内初始化 19-Nov-2019 20:13:35.059 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 19-Nov-2019 20:13:35.059 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.27] 19-Nov-2019 20:13:35.075 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["http-nio-8080"] 19-Nov-2019 20:13:35.075 信息 [main] org.apache.coyote.AbstractProtocol.start 开始协议处理句柄["ajp-nio-8009"] 19-Nov-2019 20:13:35.075 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in [56] milliseconds Connected to server [2019-11-19 08:13:35,564] Artifact newtest3:war exploded: Artifact is being deployed, please wait... ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... ERROR Dispatcher Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:289) at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422) at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:231) at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:106) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:584) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:581) at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:560) at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:581) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:287) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:162) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496) at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73) at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4533) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:287) ... 66 more Caused by: java.lang.ExceptionInInitializerError at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.setContainer(OgnlValueStackFactory.java:88) ... 71 more Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency! at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:169) ... 72 more Caused by: java.lang.ClassNotFoundException: javassist.ClassPool at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:166) ... 72 more 19-Nov-2019 20:13:36.564 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.filterStart 启动过滤器异常 java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector File: ContainerImpl.java [2019-11-19 08:13:36,595] Artifact newtest3:war exploded: Error during artifact deployment. See server log for details. Method: inject Line: 289 - com/opensymphony/xwork2/inject/ContainerImpl.java:289:-1 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:509) at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73) at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4533) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:289) at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422) at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:231) at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:106) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:584) at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:581) at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:560) at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:581) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:287) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:162) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496) ... 52 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:287) ... 66 more Caused by: java.lang.ExceptionInInitializerError at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.setContainer(OgnlValueStackFactory.java:88) ... 71 more Caused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency! at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:169) ... 72 more Caused by: java.lang.ClassNotFoundException: javassist.ClassPool at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at ognl.OgnlRuntime.<clinit>(OgnlRuntime.java:166) ... 72 more 19-Nov-2019 20:13:36.579 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 19-Nov-2019 20:13:36.579 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors 19-Nov-2019 20:13:45.090 信息 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [D:\Software\apache-tomcat-9.0.27\webapps\manager] 19-Nov-2019 20:13:45.153 信息 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\Software\apache-tomcat-9.0.27\webapps\manager] has finished in [63] ms
解析WSDL报错:由于accessExternalSchema属性设置的限制而不允许 'https' 访问, 因此无法读取XXX
**最近项目需要调用wsdl接口,然后我用java的wsimport工具解析.NET接口,命令如下:** ``` root@XXX-OptiPlex-7050:/usr/lib/jvm/java-8-openjdk-amd64/bin# wsimport -keep -s JavaSrc https://payment.ipay88.com.my/ePayment/WebService/MHGatewayService/GatewayService.svc?wsdl ``` **但是报错如下:** ``` 正在解析 WSDL... [WARNING] schema_reference: 由于 accessExternalSchema 属性设置的限制而不允许 'https' 访问, 因此无法读取方案文档 'GatewayService.svc?xsd=xsd0'。 https://payment.ipay88.com.my/ePayment/WebService/MHGatewayService/GatewayService.svc?wsdl=wsdl0#types?schema1的第 1 行 正在生成代码... 正在编译代码... ``` **百度了一大堆,都是说不允许“file”访问,竟然没有一个说https访问的,请各位大神指点。 另外 我用的系统是ubuntu**
idea 整合ssh报错。。。。
C:\Soft\apache-tomcat-8.5.16\bin\catalina.bat run [2017-07-06 06:10:11,275] Artifact cmr:war exploded: Server is not connected. Deploy is not available. Using CATALINA_BASE: "C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2" Using CATALINA_HOME: "C:\Soft\apache-tomcat-8.5.16" Using CATALINA_TMPDIR: "C:\Soft\apache-tomcat-8.5.16\temp" Using JRE_HOME: "C:\Soft\Java\jdk1.8.0_131" Using CLASSPATH: "C:\Soft\apache-tomcat-8.5.16\bin\bootstrap.jar;C:\Soft\apache-tomcat-8.5.16\bin\tomcat-juli.jar" 06-Jul-2017 18:10:12.166 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.16 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 21 2017 17:01:09 UTC 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.16.0 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Soft\Java\jdk1.8.0_131\jre 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b11 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2 06-Jul-2017 18:10:12.169 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Soft\apache-tomcat-8.5.16 06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2\conf\logging.properties 06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 06-Jul-2017 18:10:12.170 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false 06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 06-Jul-2017 18:10:12.171 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_porject_2 06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Soft\apache-tomcat-8.5.16 06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Soft\apache-tomcat-8.5.16\temp 06-Jul-2017 18:10:12.172 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.12] using APR version [1.5.2]. 06-Jul-2017 18:10:12.173 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 06-Jul-2017 18:10:12.173 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 06-Jul-2017 18:10:12.849 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2k 26 Jan 2017] 06-Jul-2017 18:10:12.968 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 06-Jul-2017 18:10:13.009 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 06-Jul-2017 18:10:13.013 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 06-Jul-2017 18:10:13.016 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 06-Jul-2017 18:10:13.016 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1230 ms 06-Jul-2017 18:10:13.049 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 06-Jul-2017 18:10:13.049 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.16 06-Jul-2017 18:10:13.074 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 06-Jul-2017 18:10:13.086 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 06-Jul-2017 18:10:13.089 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 72 ms Connected to server [2017-07-06 06:10:13,412] Artifact cmr:war exploded: Artifact is being deployed, please wait... 06-Jul-2017 18:10:13.767 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 06-Jul-2017 18:10:13.767 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors [2017-07-06 06:10:13,781] Artifact cmr:war exploded: Error during artifact deployment. See server log for details. 06-Jul-2017 18:10:23.078 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Soft\apache-tomcat-8.5.16\webapps\manager] 06-Jul-2017 18:10:23.167 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Soft\apache-tomcat-8.5.16\webapps\manager] has finished in [90] ms 因为跟视频里学着写的。所以,所有的代码和xml配置完全相同。jar包也一样。视频里面用的eclipse。不会报错。为什么idea 就会报错呢。
小白tomcat运行项目时404报错,求大神解答,运行过程如下
``` E:\apache-tomcat-8.5.45\bin\catalina.bat run [2019-12-30 11:55:42,272] Artifact library:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library" Using CATALINA_HOME: "E:\apache-tomcat-8.5.45" Using CATALINA_TMPDIR: "E:\apache-tomcat-8.5.45\temp" Using JRE_HOME: "C:\Program Files\Java\jdk-12.0.2" Using CLASSPATH: "E:\apache-tomcat-8.5.45\bin\bootstrap.jar;E:\apache-tomcat-8.5.45\bin\tomcat-juli.jar" 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.rmi/sun.rmi.transport=ALL-UNNAMED 30-Dec-2019 23:55:44.413 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.45 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 14 2019 22:21:25 UTC 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.45.0 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0 30-Dec-2019 23:55:44.417 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk-12.0.2 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 12.0.2+10 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library 30-Dec-2019 23:55:44.418 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: E:\apache-tomcat-8.5.45 30-Dec-2019 23:55:44.419 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED 30-Dec-2019 23:55:44.420 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED 30-Dec-2019 23:55:44.421 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 30-Dec-2019 23:55:44.422 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library\conf\logging.properties 30-Dec-2019 23:55:44.422 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 30-Dec-2019 23:55:44.422 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote= 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library\jmxremote.password 30-Dec-2019 23:55:44.423 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library\jmxremote.access 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\lenovo\.IntelliJIdea2019.2\system\tomcat\Tomcat_8_5_45_library 30-Dec-2019 23:55:44.424 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\apache-tomcat-8.5.45 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\apache-tomcat-8.5.45\temp 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.7.0]. 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 30-Dec-2019 23:55:44.425 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 30-Dec-2019 23:55:44.434 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c 28 May 2019] 30-Dec-2019 23:55:44.513 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 30-Dec-2019 23:55:44.566 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 30-Dec-2019 23:55:44.598 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 30-Dec-2019 23:55:44.616 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 30-Dec-2019 23:55:44.617 淇℃伅 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 668 ms 30-Dec-2019 23:55:44.724 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 30-Dec-2019 23:55:44.724 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.45 30-Dec-2019 23:55:44.744 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 30-Dec-2019 23:55:44.773 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 30-Dec-2019 23:55:44.800 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in 182 ms Connected to server [2019-12-30 11:55:45,097] Artifact library:war exploded: Artifact is being deployed, please wait... 30-Dec-2019 23:55:45.511 璀﹀憡 [RMI TCP Connection(5)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used. 30-Dec-2019 23:55:47.851 淇℃伅 [RMI TCP Connection(5)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 30-Dec-2019 23:55:48.702 璀﹀憡 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [751] milliseconds. [2019-12-30 11:55:48,747] Artifact library:war exploded: Artifact is deployed successfully [2019-12-30 11:55:48,747] Artifact library:war exploded: Deploy took 3,650 milliseconds 30-Dec-2019 23:55:54.748 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [E:\apache-tomcat-8.5.45\webapps\manager] 30-Dec-2019 23:55:54.837 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\apache-tomcat-8.5.45\webapps\manager] has finished in [88] ms ```
为什么我的idea一构建gradle项目就会出错?
只要之gradle的项目就会出错,其他程序都能运行,一构建gradle就会报出 Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/5.1.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- 错误: 找不到或无法加载主类 D:\java\jdk8 我的环境变量都是好的,这是为什么,很奇怪。
JVM的CMS垃圾收集器线程数
《深入理解Java虚拟机(第2版)》P82,有原话:**CMS默认启动的回收线程数是(CPU数量+3)/4,也就是当CPU在4个以上时,并发回收时垃圾收集线程数不少于25%的CPU资源,并且随着CPU数量的增加而下降**。 问:将CPU数量代入为4,即线程数为(4+3)/4,算出来为小数1.75,那么线程数到底为多少?是向下取整?向上取整?还是四舍五入? 另:**当CPU在4个以上时,并发回收时垃圾收集线程数不少于25%的CPU资源,并且随着CPU数量的增加而下降**此结论如何得出? 望解答!谢谢!
动态规划入门到熟悉,看不懂来打我啊
持续更新。。。。。。 2.1斐波那契系列问题 2.2矩阵系列问题 2.3跳跃系列问题 3.1 01背包 3.2 完全背包 3.3多重背包 3.4 一些变形选讲 2.1斐波那契系列问题 在数学上,斐波纳契数列以如下被以递归的方法定义:F(0)=0,F(1)=1, F(n)=F(n-1)+F(n-2)(n&gt;=2,n∈N*)根据定义,前十项为1, 1, 2, 3...
程序员,职场上请远离这种人!
对有些职场人来讲,甩锅就是一种生存手段。01.从大学打篮球说起上大学的时候喜欢打篮球,然后我又特别喜欢抢篮板,经常是跳起来的时候没事,落下来的时候偶尔会踩到别人的脚上,于...
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私...
对计算机专业来说学历真的重要吗?
我本科学校是渣渣二本,研究生学校是985,现在毕业五年,校招笔试、面试,社招面试参加了两年了,就我个人的经历来说下这个问题。 这篇文章很长,但绝对是精华,相信我,读完以后,你会知道学历不好的解决方案,记得帮我点赞哦。 先说结论,无论赞不赞同,它本质就是这样:对于技术类工作而言,学历五年以内非常重要,但有办法弥补。五年以后,不重要。 目录: 张雪峰讲述的事实 我看到的事实 为什么会这样 ...
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
Python——画一棵漂亮的樱花树(不同种樱花+玫瑰+圣诞树喔)
最近翻到一篇知乎,上面有不少用Python(大多是turtle库)绘制的树图,感觉很漂亮,我整理了一下,挑了一些我觉得不错的代码分享给大家(这些我都测试过,确实可以生成) one 樱花树 动态生成樱花 效果图(这个是动态的): 实现代码 import turtle as T import random import time # 画樱花的躯干(60,t) def Tree(branch, ...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
一个读研让我损失了一百万的真实故事
关注我!只要10分钟,包你学会数据分析 毕业后,应该就业还是考研? 我刚出国留学那会儿,就惊讶的发现,外国local95%都不会选择读研 他们说,硕士学费很贵,时间宝贵,老板不认,所以很费 当几乎所有人都是本科学历时,硕士学历反而像个异类 在老板眼里,三年硕士远远不如3年的工作经验实用 他们甚至专门为拒绝高学历者发明了一个词,叫overoccupie...
Python 植物大战僵尸代码实现(2):植物卡片选择和种植
这篇文章要介绍的是: - 上方植物卡片栏的实现。 - 点击植物卡片,鼠标切换为植物图片。 - 鼠标移动时,判断当前在哪个方格中,并显示半透明的植物作为提示。
西游记团队中如果需要裁掉一个人,会先裁掉谁?
2019年互联网寒冬,大批企业开始裁员,下图是网上流传的一张截图: 裁员不可避免,那如何才能做到不管大环境如何变化,自身不受影响呢? 我们先来看一个有意思的故事,如果西游记取经团队需要裁员一名,会裁掉谁呢,为什么? 西游记团队组成: 1.唐僧 作为团队teamleader,有很坚韧的品性和极高的原则性,不达目的不罢休,遇到任何问题,都没有退缩过,又很得上司支持和赏识(直接得到唐太宗的任命,既给
shell脚本:备份数据库、代码上线
备份MySQL数据库 场景: 一台MySQL服务器,跑着5个数据库,在没有做主从的情况下,需要对这5个库进行备份 需求: 1)每天备份一次,需要备份所有的库 2)把备份数据存放到/data/backup/下 3)备份文件名称格式示例:dbname-2019-11-23.sql 4)需要对1天以前的所有sql文件压缩,格式为gzip 5)本地数据保留1周 6)需要把备份的数据同步到远程备份中心,假如...
聊聊C语言和指针的本质
坐着绿皮车上海到杭州,24块钱,很宽敞,在火车上非正式地聊几句。 很多编程语言都以 “没有指针” 作为自己的优势来宣传,然而,对于C语言,指针却是与生俱来的。 那么,什么是指针,为什么大家都想避开指针。 很简单, 指针就是地址,当一个地址作为一个变量存在时,它就被叫做指针,该变量的类型,自然就是指针类型。 指针的作用就是,给出一个指针,取出该指针指向地址处的值。为了理解本质,我们从计算机模型说起...
为什么你学不过动态规划?告别动态规划,谈谈我的经验
动态规划难吗?说实话,我觉得很难,特别是对于初学者来说,我当时入门动态规划的时候,是看 0-1 背包问题,当时真的是一脸懵逼。后来,我遇到动态规划的题,看的懂答案,但就是自己不会做,不知道怎么下手。就像做递归的题,看的懂答案,但下不了手,关于递归的,我之前也写过一篇套路的文章,如果对递归不大懂的,强烈建议看一看:为什么你学不会递归,告别递归,谈谈我的经验 对于动态规划,春招秋招时好多题都会用到动态...
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外...
字节跳动面试官这样问消息队列:分布式事务、重复消费、顺序消费,我整理了一下
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式和人才交流群,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸...
如何安装 IntelliJ IDEA 最新版本——详细教程
IntelliJ IDEA 简称 IDEA,被业界公认为最好的 Java 集成开发工具,尤其在智能代码助手、代码自动提示、代码重构、代码版本管理(Git、SVN、Maven)、单元测试、代码分析等方面有着亮眼的发挥。IDEA 产于捷克,开发人员以严谨著称的东欧程序员为主。IDEA 分为社区版和付费版两个版本。 我呢,一直是 Eclipse 的忠实粉丝,差不多十年的老用户了。很早就接触到了 IDEA...
面试还搞不懂redis,快看看这40道面试题(含答案和思维导图)
Redis 面试题 1、什么是 Redis?. 2、Redis 的数据类型? 3、使用 Redis 有哪些好处? 4、Redis 相比 Memcached 有哪些优势? 5、Memcache 与 Redis 的区别都有哪些? 6、Redis 是单进程单线程的? 7、一个字符串类型的值能存储最大容量是多少? 8、Redis 的持久化机制是什么?各自的优缺点? 9、Redis 常见性...
大学四年自学走来,这些珍藏的「实用工具/学习网站」我全贡献出来了
知乎高赞:文中列举了互联网一线大厂程序员都在用的工具集合,涉及面非常广,小白和老手都可以进来看看,或许有新收获。
为什么要推荐大家学习字节码?
配套视频: 为什么推荐大家学习Java字节码 https://www.bilibili.com/video/av77600176/ 一、背景 本文主要探讨:为什么要学习 JVM 字节码? 可能很多人会觉得没必要,因为平时开发用不到,而且不学这个也没耽误学习。 但是这里分享一点感悟,即人总是根据自己已经掌握的知识和技能来解决问题的。 这里有个悖论,有时候你觉得有些技术没用恰恰是...
【超详细分析】关于三次握手与四次挥手面试官想考我们什么?
在面试中,三次握手和四次挥手可以说是问的最频繁的一个知识点了,我相信大家也都看过很多关于三次握手与四次挥手的文章,今天的这篇文章,重点是围绕着面试,我们应该掌握哪些比较重要的点,哪些是比较被面试官给问到的,我觉得如果你能把我下面列举的一些点都记住、理解,我想就差不多了。 三次握手 当面试官问你为什么需要有三次握手、三次握手的作用、讲讲三次三次握手的时候,我想很多人会这样回答: 首先很多人会先讲下握...
压测学习总结(1)——高并发性能指标:QPS、TPS、RT、吞吐量详解
一、QPS,每秒查询 QPS:Queries Per Second意思是“每秒查询率”,是一台服务器每秒能够相应的查询次数,是对一个特定的查询服务器在规定时间内所处理流量多少的衡量标准。互联网中,作为域名系统服务器的机器的性能经常用每秒查询率来衡量。 二、TPS,每秒事务 TPS:是TransactionsPerSecond的缩写,也就是事务数/秒。它是软件测试结果的测量单位。一个事务是指一...
新程序员七宗罪
当我发表这篇文章《为什么每个工程师都应该开始考虑开发中的分析和编程技能呢?》时,我从未想到它会对读者产生如此积极的影响。那些想要开始探索编程和数据科学领域的人向我寻求建议;还有一些人问我下一篇文章的发布日期;还有许多人询问如何顺利过渡到这个职业。我非常鼓励大家继续分享我在这个旅程的经验,学习,成功和失败,以帮助尽可能多的人过渡到一个充满无数好处和机会的职业生涯。亲爱的读者,谢谢你。 -罗伯特。 ...
2019年Spring Boot面试都问了什么?快看看这22道面试题!
Spring Boot 面试题 1、什么是 Spring Boot? 2、Spring Boot 有哪些优点? 3、什么是 JavaConfig? 4、如何重新加载 Spring Boot 上的更改,而无需重新启动服务器? 5、Spring Boot 中的监视器是什么? 6、如何在 Spring Boot 中禁用 Actuator 端点安全性? 7、如何在自定义端口上运行 Sprin...
【图解】记一次手撕算法面试:字节跳动的面试官把我四连击了
字节跳动这家公司,应该是所有秋招的公司中,对算法最重视的一个了,每次面试基本都会让你手撕算法,今天这篇文章就记录下当时被问到的几个算法题,并且每个算法题我都详细着给出了最优解,下面再现当时的面试场景。看完一定让你有所收获 一、小牛试刀:有效括号 大部分情况下,面试官都会问一个不怎么难的问题,不过你千万别太开心,因为这道题往往可以拓展出更多有难度的问题,或者一道题看起来很简单,但是给出最优解,确实很...
面试官:关于Java性能优化,你有什么技巧
通过使用一些辅助性工具来找到程序中的瓶颈,然后就可以对瓶颈部分的代码进行优化。 一般有两种方案:即优化代码或更改设计方法。我们一般会选择后者,因为不去调用以下代码要比调用一些优化的代码更能提高程序的性能。而一个设计良好的程序能够精简代码,从而提高性能。 下面将提供一些在JAVA程序的设计和编码中,为了能够提高JAVA程序的性能,而经常采用的一些方法和技巧。 1.对象的生成和大小的调整。 J...
【图解算法面试】记一次面试:说说游戏中的敏感词过滤是如何实现的?
版权声明:本文为苦逼的码农原创。未经同意禁止任何形式转载,特别是那些复制粘贴到别的平台的,否则,必定追究。欢迎大家多多转发,谢谢。 小秋今天去面试了,面试官问了一个与敏感词过滤算法相关的问题,然而小秋对敏感词过滤算法一点也没听说过。于是,有了下下事情的发生… 面试官开怼 面试官:玩过王者荣耀吧?了解过敏感词过滤吗?,例如在游戏里,如果我们发送“你在干嘛?麻痹演员啊你?”,由于“麻痹”是一个敏感词,...
GitHub 标星 1.6w+,我发现了一个宝藏项目,作为编程新手有福了!
大家好,我是 Rocky0429,一个最近老在 GitHub 上闲逛的蒟蒻… 特别惭愧的是,虽然我很早就知道 GitHub,但是学会逛 GitHub 的时间特别晚。当时一方面是因为菜,看着这种全是英文的东西难受,不知道该怎么去玩,另一方面是一直在搞 ACM,没有做一些工程类的项目,所以想当然的以为和 GitHub 也没什么关系(当然这种想法是错误的)。 后来自己花了一个星期看完了 Pyt...
杭漂程序员2019的心路历程,还不起助学贷款,交不起房租,披荆斩棘终雨过天晴
一个杭漂2019的心酸历程,一路披荆斩棘终于还是雨过天晴。
我采访了同事,让他掏出了每天都会浏览的干货网站
前言只有光头才能变强。文本已收录至我的GitHub精选文章,欢迎Star:https://github.com/ZhongFuCheng3y/3y在周六的晚上,我日常去到公司写文章。想写...
相关热词 c#如何定义数组列表 c#倒序读取txt文件 java代码生成c# c# tcp发送数据 c#解决时间格式带星期 c#类似hashmap c#设置istbox的值 c#获取多线程返回值 c# 包含数字 枚举 c# timespan
立即提问