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 271368 - "Web Pages" is pointing to src/main/webapp only
Summary: "Web Pages" is pointing to src/main/webapp only
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-25 07:14 UTC by mcheung63
Modified: 2017-08-25 07:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Web Pages node (50.51 KB, image/png)
2017-08-25 07:14 UTC, mcheung63
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mcheung63 2017-08-25 07:14:52 UTC
Created attachment 165007 [details]
Web Pages node

Hi Gentlemen

    "Web Pages" node is pointing to src/main/webapp only, but in spring-boot project, the default path of webapp is in src/main/resources/META-INF/resources/.

If we put out index.jsp in src/main/webapp, running spring-boot:run command still work, but after packing it in a jar, it doesn't work. So asking developer to change their webapp location will not work.

I suggest netbeans to point "Web Pages" to "src/main/resources/META-INF/resources/" once it exists.

Thanks
Peter