• 尚未解决的intellij问题:补充措施


    2016-12-06 遇到问题

    D:softwareapache-tomcat-7.0.57incatalina.bat run
    [2016-12-06 09:54:52,342] Artifact bxt: Server is not connected. Deploy is not available.
    Using CATALINA_BASE:   "C:UsersAdministrator.20161201-151227.IntelliJIdea14system	omcatUnnamed_bxt"
    Using CATALINA_HOME:   "D:softwareapache-tomcat-7.0.57"
    Using CATALINA_TMPDIR: "D:softwareapache-tomcat-7.0.57	emp"
    Using JRE_HOME:        "C:Program FilesJavajdk1.8.0_91"
    Using CLASSPATH:       "D:softwareapache-tomcat-7.0.57inootstrap.jar;D:softwareapache-tomcat-7.0.57in	omcat-juli.jar"
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server version:        Apache Tomcat/7.0.57
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server built:          Nov 3 2014 08:39:16 UTC
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Server number:         7.0.57.0
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: OS Name:               Windows 7
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: OS Version:            6.1
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Architecture:          amd64
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JAVA_HOME:             C:Program FilesJavajdk1.8.0_91jre
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JVM Version:           1.8.0_91-b15
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: JVM Vendor:            Oracle Corporation
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: CATALINA_BASE:         C:UsersAdministrator.20161201-151227.IntelliJIdea14system	omcatUnnamed_bxt
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: CATALINA_HOME:         D:softwareapache-tomcat-7.0.57
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcom.sun.management.jmxremote=
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.util.logging.config.file=C:UsersAdministrator.20161201-151227.IntelliJIdea14system	omcatUnnamed_bxtconflogging.properties
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.endorsed.dirs=D:softwareapache-tomcat-7.0.57endorsed
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcatalina.base=C:UsersAdministrator.20161201-151227.IntelliJIdea14system	omcatUnnamed_bxt
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Dcatalina.home=D:softwareapache-tomcat-7.0.57
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.startup.VersionLoggerListener log
    信息: Command line argument: -Djava.io.tmpdir=D:softwareapache-tomcat-7.0.57	emp
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    信息: Loaded APR based Apache Tomcat Native library 1.1.32 using APR version 1.5.1.
    十二月 06, 2016 9:54:53 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    十二月 06, 2016 9:54:54 上午 org.apache.catalina.core.AprLifecycleListener initializeSSL
    信息: OpenSSL successfully initialized (OpenSSL 1.0.1j 15 Oct 2014)
    十二月 06, 2016 9:54:54 上午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["http-apr-8080"]
    十二月 06, 2016 9:54:54 上午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["ajp-apr-8009"]
    十二月 06, 2016 9:54:54 上午 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 1630 ms
    十二月 06, 2016 9:54:54 上午 org.apache.catalina.core.StandardService startInternal
    信息: Starting service Catalina
    十二月 06, 2016 9:54:54 上午 org.apache.catalina.core.StandardEngine startInternal
    信息: Starting Servlet Engine: Apache Tomcat/7.0.57
    十二月 06, 2016 9:54:54 上午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["http-apr-8080"]
    十二月 06, 2016 9:54:54 上午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["ajp-apr-8009"]
    十二月 06, 2016 9:54:54 上午 org.apache.catalina.startup.Catalina start
    信息: Server startup in 67 ms
    Connected to server
    [2016-12-06 09:54:54,683] Artifact bxt: Artifact is being deployed, please wait...
    [2016-12-06 09:54:55,069] Artifact bxt: Artifact is deployed successfully
    [2016-12-06 09:54:55,069] Artifact bxt: Deploy took 386 milliseconds
    十二月 06, 2016 9:55:04 上午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:softwareapache-tomcat-7.0.57webappsmanager
    十二月 06, 2016 9:55:04 上午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deployment of web application directory D:softwareapache-tomcat-7.0.57webappsmanager has finished in 183 ms
    D:softwareapache-tomcat-7.0.57incatalina.bat stop
    Using CATALINA_BASE:   "C:UsersAdministrator.20161201-151227.IntelliJIdea14system	omcatUnnamed_bxt"
    Using CATALINA_HOME:   "D:softwareapache-tomcat-7.0.57"
    Using CATALINA_TMPDIR: "D:softwareapache-tomcat-7.0.57	emp"
    Using JRE_HOME:        "C:Program FilesJavajdk1.8.0_91"
    Using CLASSPATH:       "D:softwareapache-tomcat-7.0.57inootstrap.jar;D:softwareapache-tomcat-7.0.57in	omcat-juli.jar"
    十二月 06, 2016 9:59:24 上午 org.apache.catalina.core.StandardServer await
    信息: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
    十二月 06, 2016 9:59:24 上午 org.apache.coyote.AbstractProtocol pause
    信息: Pausing ProtocolHandler ["http-apr-8080"]
    十二月 06, 2016 9:59:24 上午 org.apache.coyote.AbstractProtocol pause
    信息: Pausing ProtocolHandler ["ajp-apr-8009"]
    十二月 06, 2016 9:59:24 上午 org.apache.catalina.core.StandardService stopInternal
    信息: Stopping service Catalina
    十二月 06, 2016 9:59:24 上午 org.apache.coyote.AbstractProtocol stop
    信息: Stopping ProtocolHandler ["http-apr-8080"]
    十二月 06, 2016 9:59:24 上午 org.apache.coyote.AbstractProtocol stop
    信息: Stopping ProtocolHandler ["ajp-apr-8009"]
    十二月 06, 2016 9:59:24 上午 org.apache.coyote.AbstractProtocol destroy
    信息: Destroying ProtocolHandler ["http-apr-8080"]
    十二月 06, 2016 9:59:24 上午 org.apache.coyote.AbstractProtocol destroy
    信息: Destroying ProtocolHandler ["ajp-apr-8009"]
    Disconnected from server

    mvn install 报错

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project bxt-online: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:
    test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :bxt-online

    上面这些问题就是在使用intellij时发生的问题。

    我现在的解决方法是,直接利用cvs导入项目,然后执行

     mvn clean install -Dmaven.test.skip=true 
    如果是all success,就可以下一步了。
     
    相关注意事项说明:
    1、正确安装svn,要安装命令行。
    2、正确安装maven、jdk,配置好环境变量。
     
    梦想还是要有的,万一实现了呢!
  • 相关阅读:
    java线程学习之volatile关键字
    java线程学习之yield方法
    java线程学习之join方法
    小程序hideTarBar隐藏TabBar后,获取windowHeight不准确问题
    canvas等base64格式上传到服务端直传到oss
    服务器关于node的注意事项
    node.js连接本地数据库
    小程序(mpvue框架)的总结
    git代码的注意
    js里的实用小技巧
  • 原文地址:https://www.cnblogs.com/jianfeijiang/p/6137381.html
Copyright © 2020-2023  润新知