java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence

Spring JIRA | Rob Winch | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NOTE: Revert commit 23737a45 There are a number of failures when building with JDK 1.8 b89 {code} [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/orm/jpa/aspectj/JpaExceptionTranslatorAspect.aj:1 [error] The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files [ant:iajc] (no source information available) [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:19 [error] The import java.util.Arrays cannot be resolved [ant:iajc] import java.util.Arrays; [ant:iajc] ^^^^^^^^^^^^^^^ [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:87 [error] Arrays cannot be resolved [ant:iajc] if (!Arrays.equals(this.args, args)) { {code} {code} :spring-oxm:compileTestJava Note: /home/rwinch/git/spring-framework-4.x/spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ant:jibx] Error running binding compiler [ant:jibx] java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence [ant:jibx] at org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.java:291) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:95) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:121) [ant:jibx] at org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527) [ant:jibx] at org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899) [ant:jibx] at org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969) [ant:jibx] at org.jibx.binding.Utility.validateBinding(Utility.java:226) [ant:jibx] at org.jibx.binding.Utility.loadBinding(Utility.java:269) [ant:jibx] at org.jibx.binding.Utility.loadFileBinding(Utility.java:420) [ant:jibx] at org.jibx.binding.Compile.compile(Compile.java:217) [ant:jibx] at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248) {code} The workaround is to install build 88 and to set your JAVA_HOME prior to building. You must build from source http://hg.openjdk.java.net/jdk8/jdk8/rev/e1a929afcfc4 If you are not updating these modules, you can also run builds on individual modules. For example, "./gradlew spring-core:build"

    Spring JIRA | 4 years ago | Rob Winch
    java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence
  2. 0

    NOTE: Revert commit 23737a45 There are a number of failures when building with JDK 1.8 b89 {code} [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/orm/jpa/aspectj/JpaExceptionTranslatorAspect.aj:1 [error] The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files [ant:iajc] (no source information available) [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:19 [error] The import java.util.Arrays cannot be resolved [ant:iajc] import java.util.Arrays; [ant:iajc] ^^^^^^^^^^^^^^^ [ant:iajc] /home/rwinch/git/spring-framework-4.x/spring-aspects/src/main/java/org/springframework/mock/staticmock/AbstractMethodMockingControl.aj:87 [error] Arrays cannot be resolved [ant:iajc] if (!Arrays.equals(this.args, args)) { {code} {code} :spring-oxm:compileTestJava Note: /home/rwinch/git/spring-framework-4.x/spring-oxm/src/test/java/org/springframework/oxm/xstream/XStreamMarshallerTests.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ant:jibx] Error running binding compiler [ant:jibx] java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence [ant:jibx] at org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.java:291) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:95) [ant:jibx] at org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:121) [ant:jibx] at org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527) [ant:jibx] at org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865) [ant:jibx] at org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899) [ant:jibx] at org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969) [ant:jibx] at org.jibx.binding.Utility.validateBinding(Utility.java:226) [ant:jibx] at org.jibx.binding.Utility.loadBinding(Utility.java:269) [ant:jibx] at org.jibx.binding.Utility.loadFileBinding(Utility.java:420) [ant:jibx] at org.jibx.binding.Compile.compile(Compile.java:217) [ant:jibx] at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248) {code} The workaround is to install build 88 and to set your JAVA_HOME prior to building. You must build from source http://hg.openjdk.java.net/jdk8/jdk8/rev/e1a929afcfc4 If you are not updating these modules, you can also run builds on individual modules. For example, "./gradlew spring-core:build"

    Spring JIRA | 4 years ago | Rob Winch
    java.lang.IllegalStateException: Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence
  3. 0

    app-misc/freemind-1.0.1 - .../work/freemind/build.xml:99: JiBXException in JiBX binding compilation

    http://bugs.gentoo.org/ | 3 years ago | cornicx
    java.lang.IllegalStateException: Internal error: instance signatures not found for class java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Error loading class java.lang.CharSequence: Error reading path java/lang/CharSequence.class for class java.lang.CharSequence

      at org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo()
    2. jibx-bind - JiBX binding
      CompileTask.execute
      1. org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.java:291)
      2. org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyContext.java:95)
      3. org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyContext.java:121)
      4. org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527)
      5. org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843)
      6. org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865)
      7. org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899)
      8. org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969)
      9. org.jibx.binding.Utility.validateBinding(Utility.java:226)
      10. org.jibx.binding.Utility.loadBinding(Utility.java:269)
      11. org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
      12. org.jibx.binding.Compile.compile(Compile.java:217)
      13. org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
      13 frames