Jason,

 Can you please clarify what do you mean by "running from within Eclipse"?
Do you run it using JUnit launch configuration or as Java Application? If it is Java application, can you please check what source folder the main Java class reside and where missing class org/docx4j/wml/TrPr came from (is it one of the dependent jars or in your source folders)?

Have you trued to run "Maven / Update project configuration" on your project? If that won't help, please try to recreate launch configuration you use to run your projects.

 regards,
 Eugene


Jason Harrop wrote:
I upgraded to m2eclipse 0.9.6.20080811-2209, and now I get the error
below when running my project from within Eclipse.

If I disable m2eclipse's "workspace resolution", things work properly.
 (My previous version was 0.9.4.20080516-1145, and my project runs
properly under that with workspace resolution enabled)

Note that as far as the code editor is concerned, workspace resolution
works; it is only at runtime that it doesn't.

cheers

Jason

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
org/docx4j/wml/TrPr
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethods(Class.java:1791)
        at java.beans.Introspector$1.run(Introspector.java:1272)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270)
        at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136)
        at java.beans.Introspector.getBeanInfo(Introspector.java:387)
        at java.beans.Introspector.getBeanInfo(Introspector.java:159)
        at java.beans.Introspector.getBeanInfo(Introspector.java:220)
        at java.beans.Introspector.getBeanInfo(Introspector.java:188)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.createIntrinsicType(TypeFactoryImpl.java:2901)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.getTypeForClass(TypeFactoryImpl.java:6284)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl$AttributeImpl.setPropertyDescriptor(TypeFactoryImpl.java:4684)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.createIntrinsicType(TypeFactoryImpl.java:2922)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.getTypeForClass(TypeFactoryImpl.java:6284)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.getTypeInternal(TypeFactoryImpl.java:6332)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.getTypeInternal(TypeFactoryImpl.java:6289)
        at 
net.java.javafx.typeImpl.TypeFactoryImpl$ModuleImpl.getType(TypeFactoryImpl.java:6227)
        at 
net.java.javafx.jsr223.JavaFXScriptEngine.applyBindings(JavaFXScriptEngine.java:110)
        at 
net.java.javafx.jsr223.JavaFXScriptEngine.eval(JavaFXScriptEngine.java:67)
        at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:232)
        at org.docx4all.script.FxScriptEngine.run(FxScriptEngine.java:125)
        at 
org.docx4all.script.FxScriptUIHelper.createToolBar(FxScriptUIHelper.java:65)
        at 
org.docx4all.ui.main.WordMLEditor.createMainPanel(WordMLEditor.java:503)
        at org.docx4all.ui.main.WordMLEditor.startup(WordMLEditor.java:145)
        at org.jdesktop.application.Application$1.run(Application.java:171)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Ev

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to