Java Mailing List Archive

http://www.junlu.com/

Google Search
Google


Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
AW: [jdom-interest] JDOM Problems with JBuilder X

AW: [jdom-interest] JDOM Problems with JBuilder X

2004-02-15       - By Thorsten Westmeier

 Back
Reply:     1     2     3     4  

Hi Falk and Paul,

sorry for the late answer to you posts, but I couldn't test your tips earlier.

At 11:20 13.02.2004, you wrote:
>Hi,
>goto Tools -> Configure Libraries, choose JDOM on the left hand and make
>the appropriate changes on the right side (just change the path under
>'Class' to the new JDOM jar file). Then choose Xerces on the left side
>and make it point to the version of Xerces that is delivered with JDOM.

I tried this out and had the same problems, as if I replaced the libs in
the <jbuilderdir>/lib directory. :-(

With jbom-b10 the IDE start only a minimized window and hangs up.
With b09 the JBuilder starts correctly and open my project, but functions
like "make Project" or "rebuild Project" have no effects.


My next idea was, to copy the new jdom version to a new created directory
for my updated libraries and in "tools", "configue libraries" I created the
new JDOM-B10 library and connected this with the new versioon of
"jdom.jar". In the project properties of my project I add the JDOM-B10 as
required library instead of the normal JDOM library, which I used before
and now I'm able to "make Project" or "rebuild Project" without any
problems or error messages.

But deploying the EJB Modul with the Bean using JDOM onto my JBoss 3.2.3
leads to the following error: java.lang.NoClassDefFoundError Source code of java.lang.NoClassDefFoundError: org/jdom/Content

What's the problem there? I imported all JDOM-Classes by " import
org.jdom.* " in my own class.
Can anybody help?

Thanks,
Thorsten



Here the complete error message:
...
09:37:03,872 INFO  [MainDeployer] Starting deployment of package:
file:/D:/JBoss/server/default/deploy/PmEJBModul.jar
09:37:04,272 WARN  [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError Source code of java.lang.NoClassDefFoundError: org/jdom/Content
        at java.lang.Class Source code of java.lang.Class(Native Method)
        at java.lang.Class Source code of java.lang.Class(Class.java:1647)
        at java.lang.Class Source code of java.lang.Class(Class.java:1770)
        at java.lang.Class Source code of java.lang.Class(Class.java:824)
        at
org.jboss.verifier.strategy.AbstractVerifier Source code of org.jboss.verifier.strategy.AbstractVerifier
(AbstractVerifier.java:688)
        at
org.jboss.verifier.strategy.EJBVerifier20 Source code of org.jboss.verifier.strategy.EJBVerifier20(EJBVerifier20.java
:1037)
        at
org.jboss.verifier.strategy.EJBVerifier20 Source code of org.jboss.verifier.strategy.EJBVerifier20(EJBVerifier20.java:92)
        at org.jboss.verifier.BeanVerifier Source code of org.jboss.verifier.BeanVerifier(BeanVerifier.java:159)
        at org.jboss.ejb.EJBDeployer Source code of org.jboss.ejb.EJBDeployer(EJBDeployer.java:475)
        at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:786)
        at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:641)
        at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:605)
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher Source code of org.jboss.mx.capability.ReflectedMBeanDispatcher
(ReflectedMBeanDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:177)
        at $Proxy6.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner Source code of org.jboss.deployment.scanner.URLDeploymentScanner(URLDeploymentScanner
.java:302)
        at
org.jboss.deployment.scanner.URLDeploymentScanner Source code of org.jboss.deployment.scanner.URLDeploymentScanner(URLDeploymentScanner
.java:458)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan
(AbstractDeploymentScanner.java:201)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop
(AbstractDeploymentScanner.java:212)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
(AbstractDeploymentScanner.java:191)
09:37:04,823 ERROR [MainDeployer] could not create deployment:
file:/D:/JBoss/server/default/deploy/PmEJBModul.jar
org.jboss.deployment.DeploymentException Source code of org.jboss.deployment.DeploymentException: Verification of Enterprise Beans
failed, see above for error messages.
        at org.jboss.ejb.EJBDeployer Source code of org.jboss.ejb.EJBDeployer(EJBDeployer.java:491)
        at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:786)
        at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:641)
        at org.jboss.deployment.MainDeployer Source code of org.jboss.deployment.MainDeployer(MainDeployer.java:605)
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher Source code of org.jboss.mx.capability.ReflectedMBeanDispatcher
(ReflectedMBeanDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl Source code of org.jboss.mx.server.MBeanServerImpl(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt Source code of org.jboss.mx.util.MBeanProxyExt(MBeanProxyExt.java:177)
        at $Proxy6.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner Source code of org.jboss.deployment.scanner.URLDeploymentScanner(URLDeploymentScanner
.java:302)
        at
org.jboss.deployment.scanner.URLDeploymentScanner Source code of org.jboss.deployment.scanner.URLDeploymentScanner(URLDeploymentScanner
.java:458)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan
(AbstractDeploymentScanner.java:201)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop
(AbstractDeploymentScanner.java:212)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner Source code of org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
(AbstractDeploymentScanner.java:191)

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)
.com



Earn $52 per hosting referral at Lunarpages.
©2008 junlu.com - Jax Systems, LLC, U.S.A.