This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244236

Summary: Netbeans Maven Web Project: Hyperlinks on Source Code in Jetty Server Output
Product: projects Reporter: bht <bht>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Maven project in zip file

Description bht 2014-05-01 21:30:52 UTC
Created attachment 147054 [details]
Maven project in zip file

How to reproduce:

Create a basic Maven Hello World Spring MVC web app and throw RuntimeException in the controller. I downloaded http://www.mkyong.com/spring3/spring-3-mvc-hello-world-example/

Add the Maven Jetty plugin as described at http://maven.apache.org/plugins/maven-war-plugin/examples/rapid-testing-jetty6-plugin.html

In Project Properties, Actions|Run Project|Execute Goals|jetty:run

In Project Properties, de-select any server.

Run the project and open in your browser: http://localhost:8080/SpringMVC/welcome

You should see the exception in the browser as printed by Jetty.
Open the IDE's output window and examine the stack trace.

Expected behavior: The offending line in your source code should have a hyperlink in the output window.

Actual behavior: No hyperlinks in the output window.

I do not know whether the hyper-linking is at all supported in this scenario. But I think this is a very common scenario, and hopefully a solution can be found, perhaps with an enhancement.
Comment 1 markiewb 2014-05-07 20:16:28 UTC

*** This bug has been marked as a duplicate of bug 222587 ***