I've been impressed with the integration and worked through the tutorial without any 
problems.  I just started my own project and everything was working fine.  I deployed 
the project a number of times without any problems.

I then needed to change the datasource (an xdoclet mapping in the EJB src) and all of 
the sudden, I get this:

------------------------------
  [ejbdoclet] java.lang.ClassFormatError: xdoclet/tagshandler/TagDefTagsHandler 
(Illegal UTF8 string in constant pool)
   [ejbdoclet]  at java.lang.ClassLoader.defineClass0(Native Method)
   [ejbdoclet]  at java.lang.ClassLoader.defineClass(Unknown Source)
   [ejbdoclet]  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
   [ejbdoclet]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   [ejbdoclet]  at java.lang.reflect.Method.invoke(Unknown Source)
   [ejbdoclet]  at 
org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1002)
   [ejbdoclet]  at 
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1064)
   [ejbdoclet]  at 
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)
   [ejbdoclet]  at 
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)
   [ejbdoclet]  at java.lang.ClassLoader.loadClass(Unknown Source)
   [ejbdoclet]  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   [ejbdoclet]  at java.lang.Class.forName0(Native Method)
   [ejbdoclet]  at java.lang.Class.forName(Unknown Source)
   [ejbdoclet]  at 
xdoclet.template.TemplateEngine.registerTagHandlers(TemplateEngine.java:617)
   [ejbdoclet]  at xdoclet.template.TemplateEngine.(TemplateEngine.java:92)
   [ejbdoclet]  at xdoclet.template.TemplateEngine.(TemplateEngine.java:50)
   [ejbdoclet]  at xdoclet.TemplateSubTask.init(TemplateSubTask.java:456)
   [ejbdoclet]  at xdoclet.XDocletMain.start(XDocletMain.java:44)
   [ejbdoclet]  at xdoclet.DocletTask.start(DocletTask.java:458)
   [ejbdoclet]  at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:95)
   [ejbdoclet]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
   [ejbdoclet]  at org.apache.tools.ant.Task.perform(Task.java:341)
   [ejbdoclet]  at org.apache.tools.ant.Target.execute(Target.java:309)
   [ejbdoclet]  at org.apache.tools.ant.Target.performTasks(Target.java:336)
   [ejbdoclet]  at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
   [ejbdoclet]  at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
   [ejbdoclet]  at 
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
   [ejbdoclet]  at 
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
   [ejbdoclet]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [ejbdoclet]  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   [ejbdoclet]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   [ejbdoclet]  at java.lang.reflect.Method.invoke(Unknown Source)
   [ejbdoclet]  at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
   [ejbdoclet]  at 
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:189)
   [ejbdoclet]  at 
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:156)
   [ejbdoclet]  at 
org.jboss.ide.eclipse.xdoclet.run.ui.actions.XDocletRunAction$1.run(XDocletRunAction.java:142)
   [ejbdoclet]  at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
   [ejbdoclet] BUILD FAILED: file:C:/eclipse/workspace/CD_Store/xdoclet-build.xml:13: 
Unexpected error
---------------------------

Now--since this was installed with the plugin manager, I'm wondering how to "refresh" 
the install.  Can I remove the plugin and reinstall it without hurting my projects?  
Can I obtain fresh copies of the JAR files and compare them to the ones I have?  I'm 
really curious as to why I get a class format error on an xdoclet class.  Has anyone 
ever had this happen to them before?  Is there something inherent to Eclipse where it 
could accidently destroy itself?  I've google'd, and searched this forum without 
success.  Any help you could offer is appreciated.

Many thanks,
RDB


P.S. - here are my files in the org.jboss.ide.xdoclet.core_1.2.2 directory:
------------------------------------
commons-collections-2.0.jar   90KB
commons-logging.jar    26KB
jboss-j2ee.jar    69KB
log4j.jar    345KB
org-jboss-ide-eclipse-xdoclet-core.jar    7KB
plugin.properties    1KB
plugin.xml    2KB
xdoclet-1.2b3-dev.jar    149KB
xdoclet-ejb-module-1.2b3-dev.jar    190KB
xdoclet-java-module-1.2b3-dev.jar    12KB
xdoclet-jboss-module-1.2b3-dev.jar    86KB
xdoclet-jmx-module-1.2b3-dev.jar    13KB
xdoclet-module-jboss-aop.jar    13KB
xdoclet-web-module-1.2b3-dev.jar    39KB
xdoclet-xdoclet-module-1.2b3-dev.jar    56KB
xjavadoc-1.0.jar    234KB

I had to copy jboss-j2ee.jar into this directory before XDoclet would work with the 
tutorial.  For whatever reason, the inclusion of the JAR files in the Build path was 
not sufficient.  However, since it was working in all cases, even with this file here, 
I left it.  I don't think it is the problem.

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825103#3825103";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825103>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to