测试jsoup解析网页遇到的问题Invalid layout of java.lang.String at value

 

问题:

Invalid layout of java.lang.String at value
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (javaClasses.cpp:136), pid=5560, tid=5584
#  fatal error: Invalid layout of preloaded class
#
# JRE version:  (7.0_40-b43) (build )
# Java VM: Java HotSpot(TM) Client VM (24.0-b56 mixed mode windows-x86 )
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\我的文档\workspace\solarTest\hs_err_pid5560.log
#
# If you would like to submit a bug report, please visit:
#  
http://bugreport.sun.com/bugreport/crash.jsp
#

 

 

 

解决办法:

 

Project->Properties->Run/Debug Settings;

  • 选择类,然后选择"Edit";
  • 打开 "Classpath" ,删除 Android Lib from "Bootstrap Entries";
  • 应用重新运行。
  • 你可能感兴趣的:(测试jsoup解析网页遇到的问题Invalid layout of java.lang.String at value)