org.apache.maven.InternalErrorException: Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present

JFrog JIRA | Bernd Krumböck | 5 years ago
  1. 0

    {noformat} Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present cause : Type com.thoughtworks.xstream.annotations.XStreamAlias not present Stack trace : org.apache.maven.InternalErrorException: Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:112) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315) at java.util.concurrent.FutureTask.run(FutureTask.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:736) Caused by: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:39) at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:51) at java.lang.Class.getDeclaredAnnotations(Class.java:1628) at org.codehaus.jackson.map.introspect.AnnotatedClass.resolveClassAnnotations(AnnotatedClass.java:283) at org.codehaus.jackson.map.introspect.AnnotatedClass.construct(AnnotatedClass.java:140) at org.codehaus.jackson.map.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:126) at org.codehaus.jackson.map.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:16) at org.codehaus.jackson.map.SerializationConfig.introspect(SerializationConfig.java:573) at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:95) at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:688) at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:631) at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:405) at org.codehaus.jackson.map.ser.StdSerializerProvider.findTypedValueSerializer(StdSerializerProvider.java:479) at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:293) at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:224) at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:925) at org.codehaus.jackson.impl.JsonGeneratorBase.writeObject(JsonGeneratorBase.java:274) at org.jfrog.build.extractor.BuildInfoExtractorUtils.buildInfoToJsonString(BuildInfoExtractorUtils.java:173) at org.jfrog.build.extractor.BuildInfoExtractorUtils.saveBuildInfoToFile(BuildInfoExtractorUtils.java:185) at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:65) at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:128) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:170) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 19 more Caused by: java.lang.ClassNotFoundException: com.thoughtworks.xstream.annotations.XStreamAlias at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:169) at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:34) ... 44 more channel stopped {noformat}

    JFrog JIRA | 5 years ago | Bernd Krumb??ck
    org.apache.maven.InternalErrorException: Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present
  2. 0

    {noformat} Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present cause : Type com.thoughtworks.xstream.annotations.XStreamAlias not present Stack trace : org.apache.maven.InternalErrorException: Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:112) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315) at java.util.concurrent.FutureTask.run(FutureTask.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:736) Caused by: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:39) at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:51) at java.lang.Class.getDeclaredAnnotations(Class.java:1628) at org.codehaus.jackson.map.introspect.AnnotatedClass.resolveClassAnnotations(AnnotatedClass.java:283) at org.codehaus.jackson.map.introspect.AnnotatedClass.construct(AnnotatedClass.java:140) at org.codehaus.jackson.map.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:126) at org.codehaus.jackson.map.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:16) at org.codehaus.jackson.map.SerializationConfig.introspect(SerializationConfig.java:573) at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:95) at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:688) at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:631) at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:405) at org.codehaus.jackson.map.ser.StdSerializerProvider.findTypedValueSerializer(StdSerializerProvider.java:479) at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:293) at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:224) at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:925) at org.codehaus.jackson.impl.JsonGeneratorBase.writeObject(JsonGeneratorBase.java:274) at org.jfrog.build.extractor.BuildInfoExtractorUtils.buildInfoToJsonString(BuildInfoExtractorUtils.java:173) at org.jfrog.build.extractor.BuildInfoExtractorUtils.saveBuildInfoToFile(BuildInfoExtractorUtils.java:185) at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:65) at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:128) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:170) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 19 more Caused by: java.lang.ClassNotFoundException: com.thoughtworks.xstream.annotations.XStreamAlias at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:169) at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:34) ... 44 more channel stopped {noformat}

    JFrog JIRA | 5 years ago | Bernd Krumböck
    org.apache.maven.InternalErrorException: Internal error: java.lang.TypeNotPresentException: Type com.thoughtworks.xstream.annotations.XStreamAlias not present
  3. 0

    Re: [m2e-users] Guice provision errors using m2e 1.3.1.20130219-0923 and

    eclipse.org | 1 year ago
    java.lang.TypeNotPresentException: Type javax.enterprise.inject.Typed not present   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.cipher.PlexusCipher   while locating org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.sec.dispatcher.SecDispatcher annotated with @com.google.inject.name.Named(value=maven)   while locating org.apache.maven.settings.crypto.DefaultSettingsDecrypter   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.apache.maven.settings.crypto.SettingsDecrypter   while locating org.apache.maven.repository.legacy.LegacyRepositorySystem   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.apache.maven.repository.RepositorySystem   while locating org.apache.maven.execution.DefaultMavenExecutionRequestPopulator   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.apache.maven.execution.MavenExecutionRequestPopulator 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven2 Plugin for Eclipse Users List

    gmane.org | 5 months ago
    java.lang.TypeNotPresentException: Type javax.enterprise.inject.Typed not present   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.cipher.PlexusCipher   while locating org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.sonatype.plexus.components.sec.dispatcher.SecDispatcher annotated with <at> com.google.inject.name.Named(value=maven)   while locating org.apache.maven.settings.crypto.DefaultSettingsDecrypter   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.apache.maven.settings.crypto.SettingsDecrypter   while locating org.apache.maven.repository.legacy.LegacyRepositorySystem   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.apache.maven.repository.RepositorySystem   while locating org.apache.maven.execution.DefaultMavenExecutionRequestPopulator   at ClassRealm[plexus.core, parent: null]   at ClassRealm[plexus.core, parent: null]   while locating org.apache.maven.execution.MavenExecutionRequestPopulator 1 error
  6. 0

    java.lang.NoClassDefFoundError: org/activiti/validation/ProcessValidator - you23hai45(游海东)的专栏 - 博客频道 - CSDN.NET

    csdn.net | 5 months ago
    org.activiti.engine.ActivitiException: Programmatic error: could not instantiate org.activiti.designer.test.ProcessTestAudition

  1. gehel 1 times, last 5 days ago
  2. davidvanlaatum 3 times, last 5 days ago
  3. danleyb2Interintel 1 times, last 1 week ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. Kialandei 1 times, last 2 weeks ago
49 more registered users
46 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.thoughtworks.xstream.annotations.XStreamAlias

    at java.lang.Class.forNameImpl()
  2. Java RT
    Class.forName
    1. java.lang.Class.forNameImpl(Native Method)
    2. java.lang.Class.forName(Class.java:169)
    2 frames
  3. com.ibm.oti
    AnnotationHelper.getDeclaredAnnotations
    1. com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:34)
    2. com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:51)
    2 frames
  4. Java RT
    Class.getDeclaredAnnotations
    1. java.lang.Class.getDeclaredAnnotations(Class.java:1628)
    1 frame
  5. Data Mapper for Jackson
    ObjectMapper.writeValue
    1. org.codehaus.jackson.map.introspect.AnnotatedClass.resolveClassAnnotations(AnnotatedClass.java:283)
    2. org.codehaus.jackson.map.introspect.AnnotatedClass.construct(AnnotatedClass.java:140)
    3. org.codehaus.jackson.map.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:126)
    4. org.codehaus.jackson.map.introspect.BasicClassIntrospector.forSerialization(BasicClassIntrospector.java:16)
    5. org.codehaus.jackson.map.SerializationConfig.introspect(SerializationConfig.java:573)
    6. org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:95)
    7. org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:688)
    8. org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:631)
    9. org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:405)
    10. org.codehaus.jackson.map.ser.StdSerializerProvider.findTypedValueSerializer(StdSerializerProvider.java:479)
    11. org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:293)
    12. org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:224)
    13. org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:925)
    13 frames
  6. Jackson
    JsonGeneratorBase.writeObject
    1. org.codehaus.jackson.impl.JsonGeneratorBase.writeObject(JsonGeneratorBase.java:274)
    1 frame
  7. org.jfrog.build
    BuildInfoRecorder.sessionEnded
    1. org.jfrog.build.extractor.BuildInfoExtractorUtils.buildInfoToJsonString(BuildInfoExtractorUtils.java:173)
    2. org.jfrog.build.extractor.BuildInfoExtractorUtils.saveBuildInfoToFile(BuildInfoExtractorUtils.java:185)
    3. org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:65)
    4. org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:128)
    4 frames
  8. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64)
    2. org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
    3. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:170)
    4. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    5. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    5 frames
  9. M3 Interceptor
    Maven3Launcher.main
    1. org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:600)
    4 frames
  11. Plexus
    Launcher.launch
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
    2 frames
  12. M3 Agent
    Maven3Main.launch
    1. org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
    1 frame
  13. Hudson Maven Embedder
    Maven3Builder.call
    1. hudson.maven.Maven3Builder.call(Maven3Builder.java:112)
    2. hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
    2 frames
  14. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:287)
    3 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:150)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:736)
    6 frames