Hello,
while trying to follow a very simple tutorial of JEE6 and JSF in Glassfish
v3 I get the following error when deploying the web war file:
¿Any ideas on what's happening? I've already checked WEB-INF/lib/ dir for
any dom4j libraries. They're not there...
thanks
[#|2009-12-17T03:00:11.469+0100|SEVERE|glassfish|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=17;_ThreadName=Thread-1;|Exception
while invoking class org.glassfish.webbeans.WebBeansDeployer load method
javax.inject.DefinitionException: Error during the processing of a DOM4J
document for
file:/Applications/glassfishv3/glassfish/domains/domain1/applications/cervatOH2/WEB-INF/beans.xml
at org.jboss.webbeans.xml.XmlParser.createDocument(XmlParser.java:194)
at org.jboss.webbeans.xml.XmlParser.parse(XmlParser.java:58)
at
org.jboss.webbeans.bootstrap.WebBeansBootstrap.boot(WebBeansBootstrap.java:195)
at org.glassfish.webbeans.WebBeansDeployer.load(WebBeansDeployer.java:95)
at org.glassfish.webbeans.WebBeansDeployer.load(WebBeansDeployer.java:58)
at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:152)
at
org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:174)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:282)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:247)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:424)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:434)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:521)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:154)
at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:121)
at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:529)
at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:415)
at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:347)
at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:332)
at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:200)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be
cast to org.dom4j.DocumentFactory Nested exception:
org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.jboss.webbeans.xml.XmlParser.createDocument(XmlParser.java:180)
... 21 more
|#]
--
View this message in context: http://old.nabble.com/org.dom4j.DocumentFactory-cannot-be-cast-to-org.dom4j.DocumentFactory-tp26822039p26822039.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.