0

We are facing following issue at runtime (WEBLOGIC 12.xxx) with jdk1.8

The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files

The above issue is been thrown at runtime in a jsp.
We need to fix this issue in our unix server. I see many posts giving suggestions to fix the issue in eclipse. I couldn't found any solution to fix this in unix machine.

mpromonet
  • 11,326
  • 43
  • 62
  • 91
Nag
  • 11
  • 2
  • check this link:http://stackoverflow.com/questions/24301986/the-type-java-lang-charsequence-cannot-be-resolved-in-package-declaration – soorapadman Oct 27 '15 at 07:10
  • hi Soorapadman, i did check the link and we are able to compile the code succesfully with jdk1.8. The issue we were thrown is from jsp at runtime. can you help me in understanding "set source level of your project to 1.8"? – Nag Oct 27 '15 at 07:29
  • Windows>Preferences>Java>Compiler>compiler compliance level – soorapadman Oct 27 '15 at 07:31
  • but how can we do that in UNIX machine? – Nag Oct 27 '15 at 08:37
  • sorry bro i didn't know about unix. – soorapadman Oct 27 '15 at 08:37
  • Are you using Eclipse or some other IDE? Or are you compiling from the command line? – Brian Ochs Oct 27 '15 at 19:45
  • we are compiling from command line in UNIX. compilation gets successful. But during jsp compilation at runtime we are facing the issue. We are using weblogic 12.1.1.0. – Nag Oct 28 '15 at 04:39
  • It seems issue is with the version of weblogic we are using. "**Java 8 is supported on WebLogic Server 12.1.3. It is not supported on 10.3.6, 12.1.1, or 12.1.2.**" – Nag Oct 28 '15 at 04:52

0 Answers0