Problems when upgrading to Java8

1. Some dependencies those running well in Java6/Java7 but not Java8

    e.g. javassist.jar, it's quite probably be inconsistent

 

2. Got SAX warning in console. That's because Java8 denies to access the external xsd/dtd files by default but some dependencies of your project might need to access them

Here is an example: https://docs.oracle.com/javase/tutorial/jaxp/properties/error.html

Solution: Create a file named jaxp.properties (if it doesn't exist) under /jre/lib and then write this line in it:

javax.xml.accessExternalSchema = all

 

3. AES/DES Causes exception: “BadPaddingException: Given final block not properly padded” in conjunction with BufferedReader & ZipStreams

Solution:

http://stackoverflow.com/questions/27124931/java-7-java-8-aes-causes-exception-badpaddingexception-given-final-block

你可能感兴趣的:(java8,upgrade)