Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • NoClassDefFoundError:.../gwt/core/ext/linker/AbstractLinker How to solve it?

    Env: Windows 8.1/eclipse 4.4.2/JDK7 or JDK 8/ GWT2.5 or GWT 2.7



    --------------------------- errorlog ---------------------------------------------
    Runing CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.7, -bindAddress, 127.0.0.1, -launcherDir, C:\Dev\workspace\gwthello\war, -logLevel, INFO, test.Test, com.jeff.Gwthello]
    Super Dev Mode starting up
    workDir: C:\Users\pkuyjxu\AppData\Local\Temp\gwt-codeserver-4076986594507479209.tmp
    Loading inherited module 'test.Test'
    Loading inherited module 'com.smartgwt.SmartGwt'
    Loading inherited module 'com.smartgwt.SmartGwtNoScript'
    Loading inherited module 'com.smartgwt.SmartGwtNoScriptNoTheme'
    [ERROR] Unexpected error while processing XML
    java.lang.NoClassDefFoundError: com/google/gwt/core/ext/linker/AbstractLinker
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1012)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:413)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:902)
    at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
    at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:296)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:349)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:70)
    at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:431)
    at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:377)
    at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:504)
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:296)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    Loading modules
    test.Test
    Loading inherited module 'test.Test'
    Loading inherited module 'com.smartgwt.SmartGwt'
    Loading inherited module 'com.smartgwt.SmartGwtNoScript'
    at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:349)
    Loading inherited module 'com.smartgwt.SmartGwtNoScriptNoTheme'
    [ERROR] Unexpected error while processing XML



    ---------------------------- xml file ---------------------------------------------------------------------


    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd">
    <module rename-to='test'>
    <inherits name="com.google.gwt.user.User" />
    <inherits name="com.smartgwt.SmartGwt" />
    <source path="client" />
    <entry-point class="test.client.Test"></entry-point>
    </module>



    ---------------------------html file --------------------------------------------------------------------------------

    <!doctype html>
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Test</title>
    <script type="text/javascript" language="javascript" src="est.Test/est.Test.nocache.js"></script>
    </head>

    <body>
    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>

    </body>
    </html>

  • #2
    This appears to be a broken install of GWT, and is not a problem with SmartGWT specifically, so we'd suggest trying GWT forums.

    Comment


    • #3
      Originally posted by Isomorphic View Post
      This appears to be a broken install of GWT, and is not a problem with SmartGWT specifically, so we'd suggest trying GWT forums.
      Thank you! Once I also thought that is it, so I downloaded eclipse 4.5 and reinstall GWT. But it did not make any change. But the workspace is shared with eclipse 4.4, is it the problem?

      Comment


      • #4
        I had the same problem. Did you manage to solve it?

        Comment

        Working...
        X