- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在研究 JSP/Servlets。 Web 应用程序将部署在 Jboss 6 上。
我正在使用 Java 1.6、Eclipse 和 Maven2。我没有在我的代码中的任何地方引用 JSF。
我的项目在任何地方都没有涉及 JSF,但是当我尝试部署我的 webapp WAR 时,我收到一条错误消息:
21:55:44,448 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/UltimateSMS-1 21:55:44,493 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/UltimateSMS-1]] Error configuring application listener of class com.sun.faces.config.ConfigureListener:
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
这是我的 POM 和 web.xml
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>UltimateSMS</groupId>
<artifactId>UltimateSMS</artifactId>
<version>1</version>
<packaging>war</packaging>
<name>UltimateSMS</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.5.0</version>
<configuration>
<!--
<jbossHome>/opt/jboss6/server/default/deploy</jbossHome>
-->
<jbossHome>/home/jamshed/jboss-6.0.0.Final/</jbossHome>
<serverName>default</serverName>
<fileName>target/UltimateSMS.war</fileName>
<path>/UltimateSMS</path>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.14.9</version>
</dependency>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.0-801.jdbc4</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.codehaus.mojo.hibernate3</groupId>
<artifactId>maven-hibernate3</artifactId>
<version>2.2</version>
<type>pom</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
<version>4.0.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>3.0</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<!--
<artifactId>javaee-web-api</artifactId>
-->
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<!-- Added below -->
<type>jar</type>
<scope>compile</scope>
<!-- end -->
</dependency>
<dependency>
<groupId>trove</groupId>
<artifactId>trove</artifactId>
<version>1.1-beta-5</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
<servlet>
<servlet-name>SendMessage</servlet-name>
<servlet-class>com.java.misc.SendMessage</servlet-class>
<load-on-startup>1</load-on-startup>
<enabled>true</enabled>
</servlet>
<servlet>
<display-name>AddContact</display-name>
<servlet-name>AddContact</servlet-name>
<servlet-class>com.java.misc.AddContact</servlet-class>
</servlet>
<servlet>
<display-name>AddCoverage</display-name>
<servlet-name>AddCoverage</servlet-name>
<servlet-class>com.java.misc.AddCoverage</servlet-class>
</servlet>
<servlet>
<display-name>Addgroup</display-name>
<servlet-name>Addgroup</servlet-name>
<servlet-class>com.java.misc.Addgroup</servlet-class>
</servlet>
<servlet>
<display-name>AddGroup</display-name>
<servlet-name>AddGroup</servlet-name>
<servlet-class>com.java.misc.AddGroup</servlet-class>
</servlet>
<servlet>
<display-name>AddOperator</display-name>
<servlet-name>AddOperator</servlet-name>
<servlet-class>com.java.misc.AddOperator</servlet-class>
</servlet>
<servlet>
<display-name>AddStartNumber</display-name>
<servlet-name>AddStartNumber</servlet-name>
<servlet-class>com.java.misc.AddStartNumber</servlet-class>
</servlet>
<servlet>
<display-name>AddUser</display-name>
<servlet-name>AddUser</servlet-name>
<servlet-class>com.java.misc.AddUser</servlet-class>
</servlet>
<servlet>
<display-name>AdminSimpleReport</display-name>
<servlet-name>AdminSimpleReport</servlet-name>
<servlet-class>com.java.misc.AdminSimpleReport</servlet-class>
</servlet>
<servlet>
<display-name>DisplayAddressBook</display-name>
<servlet-name>DisplayAddressBook</servlet-name>
<servlet-class>com.java.misc.DisplayAddressBook</servlet-class>
</servlet>
<servlet>
<display-name>Download</display-name>
<servlet-name>Download</servlet-name>
<servlet-class>com.java.misc.Download</servlet-class>
</servlet>
<servlet>
<display-name>DownloadFile</display-name>
<servlet-name>DownloadFile</servlet-name>
<servlet-class>com.java.misc.DownloadFile</servlet-class>
</servlet>
<servlet>
<display-name>EditPrefix</display-name>
<servlet-name>EditPrefix</servlet-name>
<servlet-class>com.java.misc.EditPrefix</servlet-class>
</servlet>
<servlet>
<display-name>Etoptlst</display-name>
<servlet-name>Etoptlst</servlet-name>
<servlet-class>com.java.misc.Etoptlst</servlet-class>
</servlet>
<servlet>
<display-name>feedback</display-name>
<servlet-name>feedback</servlet-name>
<servlet-class>com.java.misc.feedback</servlet-class>
</servlet>
<servlet>
<display-name>GetCredit</display-name>
<servlet-name>GetCredit</servlet-name>
<servlet-class>com.java.misc.GetCredit</servlet-class>
</servlet>
<servlet>
<display-name>GetDate</display-name>
<servlet-name>GetDate</servlet-name>
<servlet-class>com.java.misc.GetDate</servlet-class>
</servlet>
<servlet>
<display-name>GetFailDate</display-name>
<servlet-name>GetFailDate</servlet-name>
<servlet-class>com.java.misc.GetFailDate</servlet-class>
</servlet>
<servlet>
<display-name>Login</display-name>
<servlet-name>Login</servlet-name>
<servlet-class>com.java.misc.Login</servlet-class>
</servlet>
<servlet>
<display-name>Numeric</display-name>
<servlet-name>Numeric</servlet-name>
<servlet-class>com.java.misc.Numeric</servlet-class>
</servlet>
<servlet>
<display-name>OperatorMonth</display-name>
<servlet-name>OperatorMonth</servlet-name>
<servlet-class>com.java.misc.OperatorMonth</servlet-class>
</servlet>
<servlet>
<display-name>ProcessUser</display-name>
<servlet-name>ProcessUser</servlet-name>
<servlet-class>com.java.misc.ProcessUser</servlet-class>
</servlet>
<servlet>
<display-name>SendMessageFromConact</display-name>
<servlet-name>SendMessageFromConact</servlet-name>
<servlet-class>com.java.misc.SendMessageFromConact</servlet-class>
</servlet>
<servlet>
<display-name>SendSmsInFuture</display-name>
<servlet-name>SendSmsInFuture</servlet-name>
<servlet-class>com.java.misc.SendSmsInFuture</servlet-class>
</servlet>
<servlet>
<display-name>SMSSender</display-name>
<servlet-name>SMSSender</servlet-name>
<servlet-class>com.java.misc.SMSSender</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SendMessage</servlet-name>
<url-pattern>/SendMessage</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AddContact</servlet-name>
<url-pattern>/AddContact</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AddCoverage</servlet-name>
<url-pattern>/AddCoverage</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Addgroup</servlet-name>
<url-pattern>/Addgroup</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AddGroup</servlet-name>
<url-pattern>/AddGroup</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AddOperator</servlet-name>
<url-pattern>/AddOperator</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AddStartNumber</servlet-name>
<url-pattern>/AddStartNumber</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AddUser</servlet-name>
<url-pattern>/AddUser</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AdminSimpleReport</servlet-name>
<url-pattern>/AdminSimpleReport</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayAddressBook</servlet-name>
<url-pattern>/DisplayAddressBook</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Download</servlet-name>
<url-pattern>/Download</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DownloadFile</servlet-name>
<url-pattern>/DownloadFile</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EditPrefix</servlet-name>
<url-pattern>/EditPrefix</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Etoptlst</servlet-name>
<url-pattern>/Etoptlst</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>feedback</servlet-name>
<url-pattern>/feedback</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GetCredit</servlet-name>
<url-pattern>/GetCredit</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GetDate</servlet-name>
<url-pattern>/GetDate</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>GetFailDate</servlet-name>
<url-pattern>/GetFailDate</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Login</servlet-name>
<url-pattern>/Login</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Numeric</servlet-name>
<url-pattern>/Numeric</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>OperatorMonth</servlet-name>
<url-pattern>/OperatorMonth</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ProcessUser</servlet-name>
<url-pattern>/ProcessUser</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SendMessageFromConact</servlet-name>
<url-pattern>/SendMessageFromConact</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SendSmsInFuture</servlet-name>
<url-pattern>/SendSmsInFuture</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SMSSender</servlet-name>
<url-pattern>/SMSSender</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>template.jsp</welcome-file>
</welcome-file-list>
</web-app>
这是完整的堆栈跟踪:
21:55:44,448 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/UltimateSMS-1
21:55:44,493 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/UltimateSMS-1]] Error configuring application listener of class com.sun.faces.config.ConfigureListener: java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) [:1.6.0_20]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_20]
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) [:1.6.0_20]
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) [:1.6.0_20]
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) [:1.6.0_20]
at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:278) [:6.0.0.Final]
at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:264) [:6.0.0.Final]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3319) [:6.0.0.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828) [:6.0.0.Final]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.0.0.Final]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.0.0.Final]
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477) [:6.0.0.Final]
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.Final]
at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.GA]
at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.GA]
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:240) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]
at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]
at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]
at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]
at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]
at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [:1.6.0_20]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [:1.6.0_20]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) [:1.6.0_20]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_20]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
DEPLOYMENTS IN ERROR:
Deployment "jboss.web.deployment:war=/UltimateSMS-1" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/home/jamshed/jboss-6.0.0.Final/server/default/tmp/vfs/automount32136eeb452eb1b9/UltimateSMS-1.war-9f7ce8e7ceadff1/ deployment failed
为什么我会从 JBoss 收到此错误?是否是导致此错误的 POM 依赖项?
最佳答案
URL file:/home/jamshed/jboss-6.0.0.Final/server/default/tmp/vfs/automount32136eeb452eb1b9/UltimateSMS-1.war-9f7ce8e7ceadff1/
我相信这将是构建 war 文件的工作空间的路径。也许可以在那里看一看,看看您是否能够找到它正在尝试部署的 WAR 本身?
我的意思是,看看您是否可以构建或获取您的 war 文件并尝试将其手动部署到 JBoss。如果它不起作用,那么 JBoss 的类路径中缺少某些东西,如果它起作用,那么 Maven 或您的 pom 中缺少一些东西。
关于java - 部署 jsp/servlet web 应用程序时 Jboss 出错 "com.sun.faces.config.ConfigureListener"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5967905/
我是 JBoss 的新手,发现了很多不同的术语 - JBoss EAP、JBoss Server、Wildfly、Jboss Web,以及很多不是最新的或针对旧版本的文档。 我从哪里开始了解 JBos
JBoss ESB 服务器之间有什么区别(可在此处获得:http://jbossesb.jboss.org/downloads/) 和 JBoss fuse ( http://www.jboss.or
我在我的 PC 上安装了 JBoss 4 到目录 C:\JBoss4 并将环境变量 JBOSS_HOME 设置为此目录: JBOSS_HOME=C:\JBoss4 我需要在同一台 PC 上安装 JB
我有一个 JBoss 服务器正在运行并且想要部署一个服务。 该服务连接到在以下 xml 文件中配置的数据库 jdbc:postgresql://localhost:543
jboss 中的超时是如何工作的?网络应用程序如何知道何时重定向到登录页面? 只是为了澄清! -我知道如何在 jboss 上配置超时。我的问题是,Jboss 如何知道 session 已超时以及何时超
使用JBoss Forge启动新项目时,默认情况下该项目是使用Maven构建系统创建的。我如何利用Forge 2. *的Gradle插件使用Gradle而不是Maven创建项目? % forge Us
当前配置: 正在运行的16个Pod,基于JBoss TCP的集群以及google ping发现。容器作为状态集部署在Kubernetes集群上。 没有负载的初始群集按预期运行,没有任何单个问题,但是当
我以为这将是一个 JBoss 常见问题解答,但我找不到它。 我想同时运行 JBoss 4 和 JBoss 5。我通过将端口的前导数字更改为 9 手动更改了 JBoss 5 服务器/默认实例上的所有端口
我们在 JBoss AS 6 上实现了一些服务作为我们希望迁移到 JBoss AS 7 的单例服务。 这些服务在 jboss-service.xml 文件中声明,该文件位于 EJB 包中,类似于以下代
例如,如何确定我的简单 JBoss 4.2.3 服务器正在监听端口 8080? 这是我最接近的一次,但这不起作用: MBeanServerConnection server = (MBeanServe
我正在尝试找到从语法上确定我的程序是在 Jboss 5 还是 Jboss 7 (eap-6.1) 上运行的最佳方法。到目前为止,我找到的方法是特定于 jboss 5 或 jboss 7 的,这不起作用
我在域模式下使用 JBoss 6.4.8 版本。我想通过 CLI 添加这 4 个系统属性: 1- /host=myserver/server-config=node/system-property=j
在 JBoss 4 中,您可以在文件中设置对象的部署顺序( .jar 、 .war 、 .sar 等...): conf/xmdesc/org.jboss.deployment.MainDeploye
概括地说,JBoss 5 的关闭有什么作用?如果我只是杀死 java 进程而不是优雅地关闭 JBoss,可能会出现什么问题? 对于我的应用程序来说,正常的 JBoss 5 关闭大约需要 6 分钟,这个
我最近在 CentOS 6.7 服务器上安装了 JBoss AS 7。 jboss as 工作正常。为了测试,我部署了一个 .war 文件并对其进行了测试,效果很好!但现在我尝试从我的台式电脑访问相同
我有 jboss 应用程序。并想自动测试部署。并希望将此任务作为项目添加到 Hudson 我的愿景基于以下阶段: 将我的应用程序放到 JBoss(复制耳朵、配置、库等) 运行 JBoss 我有一台 L
我对 JBoss 很陌生。目前我有一个需求,我需要在 JBoss 上部署应用程序(已经在 Tomcat 上运行)。我下载了 JBoss,但是版本 7 中的目录结构不同。 我正在运行 bin\stand
我是 JBoss AS 7 的新手。我尝试在 JBoss AS 7 上部署我的 war 文件,这似乎工作正常。我的问题是在哪里可以看到部署的内容。 我希望它像 Tomcat 一样,它应该有一个探索的
我使用多播方法在两个不同的 JBoss 服务器之间配置了集群。 当我启动两个 JBoss 服务器时,两个服务器都将连接。 一天后,我收到以下消息 server.log 中的群集开始显示错误 05:28
为了打开/关闭我们产品的跟踪-“类别”或“记录器”标签,我们应该在jboss-log4j.xml中使用什么? 默认情况下,JBoss在jboss-log4j.xml中使用“类别”。 但据我所知,不赞成
我是一名优秀的程序员,十分优秀!