Re: NetBeans 12.6 / Oracle JDK 11.0.14 LTS / JAX-B Binding
Okay, thanks. I knew that JavaFX had been separated from the baseline JDK, but I didn't realize how many other implementations have been removed that used to be built-in. Definitely took me down a rabbit hole. Ultimately, I downloaded the jaxb-ri .zip file and unzipped/installed it locally and added it to my Windows PATH and stuff started to work. A few pom.xml revisions later, I could compile the .xsd into JAX-B objects. Thanks for the pointer to get me started. V/r, BK On 1/20/2022 12:09 PM, Mark Eggers wrote: BK, On 1/20/2022 8:57 AM, Brad K. wrote: Hello -- 1. New Project -> Java with Maven 2. Copy Primer.xsd from here (https://github.com/javaee/jaxb-v2/tree/master/jaxb-ri/samples/src/main/samples/partial-unmarshalling) 3. File -> New -> JAX-B Binding 4. Binding name: Primer, file: navigate to file in ${project}/xsd/Primer.xsd package: primer 5. Click finish. Ever so briefly see a progress bar that immediately disappears and nothing happens. No error messages, no exceptions. Click "Help" and get nothing. Is there something I need to do to enable the JAX-B Binding stuff? V/r, BK Those classes are no longer in the JDK/JRE (along with activation). You'll need at least the following in your pom.xml: javax.xml.bind jaxb-api 2.3.0 com.sun.xml.bind jaxb-core 2.3.0 com.sun.xml.bind jaxb-impl 2.3.0 javax.activation activation 1.1.1 Update to the latest versions as necessary. . . . . just my two cents /mde/ - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NetBeans 12.6 / Oracle JDK 11.0.14 LTS / JAX-B Binding
BK, On 1/20/2022 8:57 AM, Brad K. wrote: Hello -- 1. New Project -> Java with Maven 2. Copy Primer.xsd from here (https://github.com/javaee/jaxb-v2/tree/master/jaxb-ri/samples/src/main/samples/partial-unmarshalling) 3. File -> New -> JAX-B Binding 4. Binding name: Primer, file: navigate to file in ${project}/xsd/Primer.xsd package: primer 5. Click finish. Ever so briefly see a progress bar that immediately disappears and nothing happens. No error messages, no exceptions. Click "Help" and get nothing. Is there something I need to do to enable the JAX-B Binding stuff? V/r, BK Those classes are no longer in the JDK/JRE (along with activation). You'll need at least the following in your pom.xml: javax.xml.bind jaxb-api 2.3.0 com.sun.xml.bind jaxb-core 2.3.0 com.sun.xml.bind jaxb-impl 2.3.0 javax.activation activation 1.1.1 Update to the latest versions as necessary. . . . . just my two cents /mde/ OpenPGP_signature Description: OpenPGP digital signature
NetBeans 12.6 / Oracle JDK 11.0.14 LTS / JAX-B Binding
Hello -- 1. New Project -> Java with Maven 2. Copy Primer.xsd from here (https://github.com/javaee/jaxb-v2/tree/master/jaxb-ri/samples/src/main/samples/partial-unmarshalling) 3. File -> New -> JAX-B Binding 4. Binding name: Primer, file: navigate to file in ${project}/xsd/Primer.xsd package: primer 5. Click finish. Ever so briefly see a progress bar that immediately disappears and nothing happens. No error messages, no exceptions. Click "Help" and get nothing. Is there something I need to do to enable the JAX-B Binding stuff? V/r, BK - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists