hiranchaudhuri1 opened a new issue, #6468:
URL: https://github.com/apache/netbeans/issues/6468

   ### Apache NetBeans version
   
   Apache NetBeans 19
   
   ### What happened
   
   To create a REST webservice based on Entity classes it is necessary to have 
entity classes first.
   However, despite having created an entity Netbeans does not allow to 
generate the REST service.
   
   ### How to reproduce
   
   To get clarity on the feature, I used Netbeans 19 on OpenJDK 17 and created 
a new _Java with Maven_/_Web Application_. In there I created one entity class, 
named WorkItem. Apart from the fields that the WorkItem got per default I added 
one more status field including getter and setter.
   
   After building the project I can see the war file in the target folder, and 
it contains a persistence.xml file that lists my entity class. So far so good, 
I think it was created/generated correctly.
   
   Now I want to add Restful Web Services for this entity class (Create, Read, 
Update, Delete) and choose the "Restful Web Services from Entity class". To my 
surprise the wizard does not show any entity. Why so?
   
   (I cannot upload an image here - in case it is needed check 
https://stackoverflow.com/questions/77128695/how-to-correctly-use-netbeans-19-restful-web-services-from-entity-classes)
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 13 or earlier
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   openjdk version "17.0.5" 2022-10-18 LTS
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   This should be pretty much repeatable - for me it happens every time.
   Somehow I suspect the wizard for generating stuff based on entities has not 
been upgraded for newer versions of JEE.
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to