Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: build
    • Labels:
      None

      Description

      APT tool and its associated API were removed in JDK8.

      command: mvn clean compile -X

      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:164)
      	... 20 more
      Caused by: java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
      	at org.codehaus.enunciate.DocsMojo.loadMavenSpecificEnunciate(DocsMojo.java:107)
      	at org.codehaus.enunciate.ConfigMojo.execute(ConfigMojo.java:326)
      	at org.codehaus.enunciate.DocsMojo.execute(DocsMojo.java:81)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
      	... 20 more
      Caused by: java.lang.ClassNotFoundException: com.sun.mirror.apt.AnnotationProcessorFactory
      	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
      	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
      	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
      	... 24 more
      
      

        Attachments

        1. LENS-398.patch
          3 kB
          Raju Bairishetti
        2. LENS-398.patch
          2 kB
          Raju Bairishetti

          Activity

            People

            • Assignee:
              raju.bairishetti Raju Bairishetti
              Reporter:
              raju.bairishetti Raju Bairishetti
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: