[Installation, Configuration & DEPLOYMENT] - Re: Caused by: java.lang.NoClassDefFoundError: Ljavax/xml/na
by Jessica134
Thanks for you responce :)
Yes I'm sure, bc maven creates .jar. and I put these .jar on Jboss:
Firstrly, I put these generated .jar in folder
C:\JBoss\jboss-4.0.5.GA\server\default\deploy\jbossws.sar\ of Jboss but it doesn't work (same error: Caused by: java.lang.NoClassDefFoundError: Ljavax/xml/namespace/QName;)
Then, I try to put these .jar in
C:\JBoss\jboss-4.0.5.GA\lib\endorsed\ but it doesn't work. (same error)
I've seen, that Jboss has .jar of Jaxb (jaxb-api.jar and jaxb-impl.jar) in bossws.sar. So, I moved it and put my .jar but it doesn't work. (same error)
I've seen that there are .jar of Jboss that contains the class javax/xml/namespace/QName, I've tried to move it and put my .jar, but again the same error.
I've seen also in
C:\JBoss\jboss-4.0.5.GA\server\default\deploy\jbossws.sar\ there is wsdl4j.jar that contains the folders javax/xml/namespace/ but there isn't the Class Qname. So I tried to move it and put my .jars, but Jboss give me errors:
java.lang.NoClassDefFoundError: javax/jws/WebService
I tried to add the class Qname in the jar wsdl4j.jar, but again the error:
Caused by: java.lang.NoClassDefFoundError: Ljavax/xml/namespace/QName
I have no idea what I can do :(
I'm sure that the problem is on Jboss bc I haven't error in eclipse, but i don't know where is the problem
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152640#4152640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152640
17 years, 11 months
[JBoss Tools (users)] - Re: Commit & Checkout Seam Project
by goik
"max.andersen(a)jboss.com" wrote : ... huh ? The projects are normal eclipse projects so you can change it as much as you can with normal eclipse java projects in the Build properties.
|
| Please be more specific on what does not work ? ...
First I followed your advice regarding the SVN layout for my eclipse project "Hdmuser", after svn co ... I have:
../hdmuser/Hdmuser
| ../hdmuser/Hdmuser-ejb
| ../hdmuser/Hdmuser-ear
| ../hdmuser/Hdmuser-test
Versioning works fine this way. Via the usual eclipse build path configuration I can move the libraries being contained in Hdmuser-test/lib to a location of my choice outside the project. Regarding filesize and versioning this is the bulk of all and thus a progress.
Then I tried to do the same for Hdmuser-ejb. Eclipse's build path editor shows mvel14.jar ... jbpm-jpdl.jar below "EAR libraries". I cannot change these . The corresponding .classpath entry reads:
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
So I understand this is a referral that cannot be edited since the libraries exist in the different subproject Hdmuser-ear/EarContent.
Since these are just binaries rather than sourcecode I'd like to move them to a project external location as well. But I found no way to do so in the Hdmuser-ear subproject.
The last bit is the Web App Libraries entry in eclipse's build path editor of the subproject Hdmuser referring to the jars contained in Hdmuser/WebContent/WEB-INF/lib. Again I cannot edit these and again the .classpath entry shows me this is a container.
Seems like I'm missing something terribly obvious?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152634#4152634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152634
17 years, 11 months