[
http://jira.codehaus.org/browse/MGWT-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258650#action_258650
]
Jorge Fernández commented on MGWT-257:
--------------------------------------
Sorry but I have no access to stack trace. It is not printed and I haven't got
access to code in eclipse debug mode. I only can attach a picture of Thread
status when exception is captured, if that helps.
Exception is a FileNotFoundException that is thrown each time it tries to load
a class from that jar. You can see in attached picture there that exception
occurs in URLClassPath.JarLoader.getJarFile(URL url) and then is re thrown in
URLClassPath.JarLoader.ensureOpen() method, that is invoked while creating a
new instance of URLClassPath.JarLoader. First parameter of getJarFile method,
as you can see in picture is
file:///C:/Users/Jorge/.m2/repository/com/google/gwt/gwt-servlet/2.1.0/gwt-servlet.jar
Up in the invocation stack, you can see that it is executing
URLClassPath.getResource(path, false); and one of the values of path I have
seen is com/google/gwt/dev/ui/DevModeUI.class.
Regards
> gwt:debug problem
> -----------------
>
> Key: MGWT-257
> URL: http://jira.codehaus.org/browse/MGWT-257
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 2.1.0-1
> Environment: Windows 7 java 1.6-20 eclipse helios and eclipse galileo
> Reporter: Jorge Fernández
> Attachments: jira-maven-gwt.zip
>
>
> This jira has been created according to
> http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users/browse_thread/thread/e4bf73d3db7780b3
> "Hi,
> I've just updated to version 2.1.0-1 and I'm debugging my application
> with gwt:debug. When the execution starts, I get a lot of
> FileNotFoundException errors when searching for gwt-servlet jar:
> java.io.FileNotFoundException: \C:\Users\Jorge\.m2\repository\com
> \google\gwt\gwt-servlet\2.1.0\gwt-servlet.jar.
> In my maven repository, I can see that jar file is named gwt-
> servlet-2.1.0 instead of gwt-servlet.jar. I solved it renaming it but
> I'm wondering if this is a bug, because it is the only one conflicting
> jar.
> All other GWT jars are found properly and the rest of my project
> dependencies too. I thougth that maybe it is a gwt-maven-plugin
> problem because in compile time the jar is found and the project
> compiles correctly. Even when I execute gwt:run I'm not having that
> exeptions."
> I'm uploading a sample project, a debug trace log (with -X option) and, since
> I'm using eclipse, I've also attached eclipse launch configurations.
> Thanks and regards,
> Jorge
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email