Hi,
I tried to integrate gwt-log with my GWT Project and add the dependency in my pom.xml,
unfortunately I can not start my application any more since an import can not be resolved.
It would be really great, if one can help me.
Stack Trace from gwt:run (GWT DevMode)
[DEBUG] [UsER] - Validating newly compiled units
[DEBUG] [UsER] - Rebinding com.allen_sauer.gwt.log.client.impl.LogImpl
[DEBUG] [UsER] - Checking rule <generate-with
class='com.allen_sauer.gwt.log.rebind.RemoteLoggerConfigGenerator'/>
[ERROR] [UsER] - Errors in
'jar:file:/C:/Users/my/.m2/repository/com/allen-sauer/gwt/log/gwt-log/3.2.1/gwt-log-3.2.1.jar!/com/allen_sauer/gwt/log/shared/LogRecord.java'
[ERROR] [UsER] - Line 16: The import com.google.gwt.core.shared cannot be resolved
[ERROR] [UsER] - Line 34: GWT cannot be resolved
[ERROR] [UsER] - Line 34: GWT cannot be resolved
[ERROR] [UsER] - Line 86: GWT cannot be resolved
[ERROR] [UsER] - Unable to find type 'com.allen_sauer.gwt.log.client.impl.LogImpl'
[ERROR] [UsER] - Hint: Previous compiler errors may have made this type unavailable
[ERROR] [UsER] - Hint: Check the inheritance chain from your module; it
may not be inheriting a required module or a module may not be adding its
source path entries properly
[ERROR] [UsER] - Deferred binding failed for
'com.allen_sauer.gwt.log.client.impl.LogImpl'; expect subsequent failures
[ERROR] [UsER] - Unable to load module entry point class
de.user.ui.gxt.client.UsER (see associated exception for details)
[ERROR] [UsER] - Failed to load module 'UsER' from user agent 'Mozilla/5.0
(Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0' at
127.0.0.1:50153
My module.gwt.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module SYSTEM
"http://google-web-toolkit.googlecode.com/svn/releases/2.3/distro-source/core/src/gwt-module.dtd">
<module rename-to='UsER'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User' />
<!-- LOGGING -->
<!-- Default to `ERROR`, but allow selection of a specific log level, say
`INFO`, via the `log_level` URL parameter:
http[s]://hostame:port/yourmodule/Yourmodule.html?log_level=DEBUG -->
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
<set-property name="log_DivLogger" value="DISABLED" />
<inherits name="com.allen_sauer.gwt.log.gwt-log-RemoteLogger" />
<!-- GXT -->
<inherits name='com.extjs.gxt.ui.GXT' />
<!-- Bibliothek von Bengi -->
<inherits name='com.google.gwt.widgetideas.WidgetIdeas' />
<inherits name='com.google.gwt.libideas.LibIdeas' />
<!-- Bibliothek von Tim -->
<inherits name='com.allen_sauer.gwt.dnd.gwt-dnd' />
<!-- We need the JUnit module in the main module, -->
<!-- otherwise eclipse complains (Google plugin bug?) -->
<inherits name='com.google.gwt.junit.JUnit' />
<!-- Specify the app entry point class. -->
<entry-point class='de.user.ui.gxt.client.UsER' />
<!-- Specify the paths for translatable code -->
<source path='client' />
<source path='shared' />
<!-- Support German Language -->
<extend-property name="locale" values="de" />
<!-- Anwendungsmodule -->
<generate-with class="de.user.ui.gxt.server.util.GWTReflectionGenerator">
<when-type-is class="de.user.ui.gxt.client.modules.GWTReflection" />
</generate-with>
</module>