List Info

Thread: build.xml:121: java.lang.NoClassDefFoundError: org/w3c/dom/DOMError




build.xml:121: java.lang.NoClassDefFoundError: org/w3c/dom/DOMError
country flaguser name
United Kingdom
2007-02-22 10:29:45
01C7569E.A9331FF0" v:src="cid:image001.gif01C7569E.A9331FF0" v:shapes="_x0000_Mail" width=0 height=0 class=shape style='display:none;width:0;height:0'>

Hi,

 

I am trying to install Swamp on Windows XP sp2 with j2sdk1.4.2_11 installed.  I get the error in the subject above, the last lines on the console are:

 

      [jar] Building jar: C:swampwebappswebswampbuildwebswamp.jar

 

BUILD SUCCESSFUL

Total time: 46 seconds

Buildfile: build.xml

 

clean:

   [delete] Deleting 10 files from C:swampwebappssoapswampbuild

 

compile:

    [javac] Compiling 1 source file to C:swampwebappssoapswampbuild

 

generate:

[axis-java2wsdl] Java2WSDL de.suse.swamp.soap.SoapSwamp

[axis-wsdl2java] WSDL2Java C:swampwebappssoapswampbuildSoapSwamp.wsdl

 

fix_deploy.wsdd:

 

server-config:

 

BUILD FAILED

C:swampwebappssoapswampbuild.xml:121: java.lang.NoClassDefFoundError: org/w3

c/dom/DOMError

 

Total time: 9 seconds

 

It seems the compiler can’t find something called org/w3c/dom/DOMError.

 

I have a src.zip file C:j2sdk1.4.2_11src.zip which has org/w3c/dom/ folder but no DOMError  the closest I come is DOMException.java and DOMImplementation.java.  Is there another version of the SDK I should using?

 

Can anyone please give me a view clues how to proceed?

 

 

Best Wishes

 

Adrian

 

 

View Original Image
Re: build.xml:121: java.lang.NoClassDefFoundError: org/w3c/dom/DOMError
country flaguser name
Germany
2007-02-23 05:29:27
swampeeng.co.uk schrieb:
>  
> 
> Hi,
> 
>  
> 
> I am trying to install Swamp on Windows XP sp2 with
j2sdk1.4.2_11 installed.
> I get the error in the subject above, the last lines on
the console are:
> 
>  
> 
>       [jar] Building jar:
C:swampwebappswebswampbuildwebswamp.jar
> 
>  
> 
> BUILD SUCCESSFUL
> 
> Total time: 46 seconds
> 
> Buildfile: build.xml
> 
>  
> 
> clean:
> 
>    [delete] Deleting 10 files from
C:swampwebappssoapswampbuild
> 
>  
> 
> compile:
> 
>     [javac] Compiling 1 source file to
C:swampwebappssoapswampbuild
> 
>  
> 
> generate:
> 
> [axis-java2wsdl] Java2WSDL
de.suse.swamp.soap.SoapSwamp
> 
> [axis-wsdl2java] WSDL2Java
C:swampwebappssoapswampbuildSoapSwamp.wsdl
> 
>  
> 
> fix_deploy.wsdd:
> 
>  
> 
> server-config:
> 
>  
> 
> BUILD FAILED
> 
> C:swampwebappssoapswampbuild.xml:121:
java.lang.NoClassDefFoundError:
> org/w3
> 
> c/dom/DOMError
> 
>  
> 
> Total time: 9 seconds
> 
>  
> 
> It seems the compiler can’t find something called
org/w3c/dom/DOMError.
> 
>  
> 
> I have a src.zip file C:j2sdk1.4.2_11src.zip which
has org/w3c/dom/ folder
> but no DOMError  the closest I come is
DOMException.java and
> DOMImplementation.java.  Is there another version of
the SDK I should using?

Could you try to replace the files
https://swamp.svn.sourceforge.net/
svnroot/swamp/trunk/lib/xercesImpl-2.9.0.jar
and
https://swamp.svn.sourceforge.net/sv
nroot/swamp/trunk/lib/xml-apis-2.0.2.jar 

in your lib/ directory? I updated to the latest xerces
release which 
includes that class.
Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development ::
Internal Tools
"Computers are useless. They can only give you
answers.", Pablo Picasso

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
swamp-devel mailing list
swamp-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel

http://swamp.sf.net 

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )