This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 62917 - IOException when deploying or debugging web project
Summary: IOException when deploying or debugging web project
Status: RESOLVED DUPLICATE of bug 62448
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 09:29 UTC by Jaroslav Pospisil
Modified: 2005-09-05 10:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attached messages.log (41.25 KB, text/plain)
2005-08-24 09:34 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-08-24 09:29:45 UTC
Build 200508221800,JDK 1.4.2_08, JBoss 4.0.3RC2

Everytime when deploy of web module an exception dialog is shown in IDE.
Deploy action proceeds without then normally.

java.io.IOException: You need to have xerces.jar available to use XMLUtil.write
under JDK 1.4: java.lang.ClassNotFoundException:
org.apache.xml.serialize.XMLSerializer
	at org.openide.xml.XMLUtil.write(XMLUtil.java:367)
	at org.netbeans.spi.settings.DOMConvertor.write(DOMConvertor.java:118)
	at
org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.writeTargetModule(TargetModuleConverter.java:135)
	at
org.netbeans.modules.j2ee.deployment.impl.TargetModule.save(TargetModule.java:235)
	at
org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTargetImpl.setTargetModules(DeploymentTargetImpl.java:209)
	at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:122)
	at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:62)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
Caused by: java.lang.ClassNotFoundException: org.apache.xml.serialize.XMLSerializer
	at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
	at
org.apache.tools.ant.module.bridge.AntBridge$MaskedClassLoader.loadClass(AntBridge.java:628)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:219)
	at org.openide.xml.XMLUtil.writeXerces(XMLUtil.java:399)
	at org.openide.xml.XMLUtil.write(XMLUtil.java:364)
	... 17 more
Comment 1 Jaroslav Pospisil 2005-08-24 09:34:37 UTC
Created attachment 24170 [details]
Attached messages.log
Comment 2 Jaroslav Pospisil 2005-08-24 09:35:46 UTC
I attached whole messages.log because there's more exceptions during deploy or
debug.
Comment 3 Petr Blaha 2005-08-24 09:45:01 UTC
Issue is already fixed in the latest daily build. Please, try the build
20050823. Thanks Petr

*** This issue has been marked as a duplicate of 62448 ***