I tried migrating my project from JDK 1.8 to Java 9, but it wouldn't compile. My project uses a lot of javax.xml.bind.annotation classes and it seems they are missing. Were they moved somewhere or deprecated?
            Asked
            
        
        
            Active
            
        
            Viewed 1.2k times
        
    2
            
            
         
    
    
        Dmitri Nesteruk
        
- 23,067
- 22
- 97
- 166
- 
                    https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j – Piotr Wilkin Nov 07 '17 at 10:45
- 
                    [This Answer by bourgesl](https://stackoverflow.com/a/48279048/642706) enabled JAXB 2.3.0 on Java 10 for me. Uses `org.glassfish.jaxb` rather than `com.sun.xml.bind`. – Basil Bourque Jul 17 '18 at 22:33
1 Answers
0
            
            
        This is marked for removal( and moved to module java.xml.bind), you can refer to documentation here: Java Docs API
 
    
    
        javauser
        
- 1
- 2