部署Java Web项目报错(一)

     今天,我在部署Java Web项目时,出现错误,并且在eclipse新建一个servers,却出现多个项目。

      具体错误截图如下:

部署Java Web项目报错(一)


      然后,我又将项目部署到JBoss服务器中,却还是运行不成功

22:12:56,097 信息    [org.jboss.modules] JBoss Modules version 1.1.1.GA
22:12:57,800 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
22:12:57,994 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
22:13:04,539 INFO  [org.xnio] XNIO Version 3.0.3.GA
22:13:04,540 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
22:13:04,607 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
22:13:04,678 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
22:13:04,974 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
22:13:04,978 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
22:13:05,024 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
22:13:05,206 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
22:13:05,130 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
22:13:05,207 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
22:13:05,130 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
22:13:06,304 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final
22:13:06,617 INFO  [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
22:13:08,401 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
22:13:08,922 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
22:13:09,473 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
22:13:10,146 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
22:13:11,791 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA
22:13:12,652 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
22:13:12,945 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on localhost/127.0.0.1:4447
22:13:12,945 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999
22:13:19,285 WARN  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015005: Reliable deployment behaviour is not possible when auto-deployment of exploded content is enabled (i.e. deployment without use of ".dodeploy"‘ marker files). Configuration of auto-deployment of exploded content is not recommended in any situation where reliability is desired. Configuring the deployment scanner‘s auto-deploy-exploded setting to "false" is recommended.
22:13:19,290 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory D:\eclipse\jboss-as-7.1.1.Final\standalone\deployments
22:13:19,420 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
22:13:19,422 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 26216ms - Started 133 of 208 services (74 services are passive or on-demand)
22:13:19,445 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment plants.xml
22:13:19,592 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment plants.xml
22:13:19,596 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment TreeData.xml
22:13:19,598 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment TreeMenus.xml
22:13:19,779 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment js-lib.rar
22:13:19,791 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: The deployment scanner found a directory named META-INF that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the D:\eclipse\jboss-as-7.1.1.Final\standalone\deployments directory, which is a user error. The META-INF directory will not be scanned for deployments, but it is possible that the scanner mayfind other files from the unzipped archive and attempt to deploy them, leading to errors.
22:13:19,794 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: The deployment scanner found a directory named WEB-INF that was not inside a directory whose name ends with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside the D:\eclipse\jboss-as-7.1.1.Final\standalone\deployments directory, which is a user error. The WEB-INF directory will not be scanned for deployments, but it is possible that the scanner mayfind other files from the unzipped archive and attempt to deploy them, leading to errors.
22:13:19,868 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
22:13:19,874 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014803: Duplicate resource [(\"deployment\" => \"plants.xml\")]"}}
22:13:19,877 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) undefined
22:13:19,880 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) undefined
22:13:19,882 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) undefined
22:13:19,884 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) undefined


部署Java Web项目报错(一),布布扣,bubuko.com

部署Java Web项目报错(一)

上一篇:用Emacs 写python了


下一篇:java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter