Summary: | Source not found (debugging a Jetty webapp) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | toby <superoverdrive> |
Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | Michael_Rennie, p.rader |
Version: | 3.8 | Keywords: | needinfo |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: |
Description
toby
2011-09-29 07:06:40 EDT
....or alternative to using Netbeans ;-) is of course to go to another pc with another Eclipse version ( an older one) that does not have this problem.
> When I run a web app using for example a maven plugin with "jetty:run" - and I
> use this configuration for debugging the webapp, it sometimes says "source not
> found".
What kind of launch configuration is it you are debugging with? JDT Debug only provides support for Java Application / Java Applet / Remote Java configurations.
Marking not_eclipse without more information and the mention of Yoxos + web app debugging. I Got the same Problem. Please reopen! My Problem: I got an maven webapp and use failsafe to make integrationtests using command "mvn verify". Therefore failsafe starts an jetty server and deploy the webapp. The webapp does *not* contains the /src/test/java/** test-classes and i have to run the integraiontests parallel to the jetty-server (guess its the same vm). Thats all the story, in fact eclipse neither find the sources of the integration-tests nor the sources of the webapp! win7 64bit, thread-launcher is eclipse indigo 64bit org.codehaus.plexus.classworlds.launcher.Launcher. Command line is: "C:\***\jdk1.7.0_05\bin\javaw.exe" -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:*** -Dmaven.home=EMBEDDED -Dclassworlds.conf=C:\***\.metadata\.plugins\org.eclipse.m2e.core\launches\m2conf247423526109835068.tmp -Dfile.encoding=Cp1252 -classpath /***/.eclipse/org.eclipse.platform_3.7.0_1709980481/plugins/org.eclipse.m2e.maven.runtime_1.1.0.20120529-1956/jars/plexus-classworlds-2.4.jar org.codehaus.plexus.classworlds.launcher.Launcher "-Dmaven.surefire.debug=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" -B -s C:\***\.m2\settings.xml clean assembly:assembly verify Hm, after a few restarts of the computer the problem went away. |