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: | NB add automatically Jersey libraries when using TomEE JAX-RS | ||
---|---|---|---|
Product: | serverplugins | Reporter: | iluvtr |
Component: | TomEE | Assignee: | Petr Hejl <phejl> |
Status: | NEW --- | ||
Severity: | normal | CC: | dkonecny |
Priority: | P3 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | image of bug |
Looks like TomEE server plugin is not aware of TomEE containing the JAX-RS impl? |
Created attachment 149718 [details] image of bug NB add automatically Jersey libraries when using TomEE JAX-RS. This is useless and invalid (throwing many exceptions when the app is deployed) because this version of TomEE already includes a JAX-RS implementation Create a new Ant Java Web Project using the TomEE server 1.7.1, create a new class, put the cursor before the 'public class' , hit Ctrl +, select @Path, and NB add Jersey libraries without information (and your permission) I think that this problem occurs too when one uses plain Tomcat using Apache CXF JAX-RS implementation I suggest that NB shouldn't include the JAX-RS libraries automatically, at least it should pop up a window telling you something like 'Do you want to add Jersey JAX-RS implementation?'