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.
Summary: | "Web Pages" is pointing to src/main/webapp only | ||
---|---|---|---|
Product: | javaee | Reporter: | mcheung63 |
Component: | Spring | Assignee: | Martin Fousek <marfous> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Web Pages node |
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