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

Summary: "Web Pages" is pointing to src/main/webapp only
Product: javaee Reporter: mcheung63
Component: SpringAssignee: 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

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