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 - Netbeans Maven Web Project: Hyperlinks on Source Code in Jetty Server Output
Summary: Netbeans Maven Web Project: Hyperlinks on Source Code in Jetty Server Output
Status: RESOLVED DUPLICATE of bug 222587
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-01 21:30 UTC by bht
Modified: 2014-05-07 20:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Maven project in zip file (4.98 KB, application/zip)
2014-05-01 21:30 UTC, bht
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***