我使用eclipse3.4,JDK1.6.1,下载好了spark2.5.8的源代码,也用ant编译成功了,然后在eclipse中运行spark时,可以打开spark的界面,但是输入好用户名和密码后,一点登录就退出报错.控制台错误信息如下:  (另外:我直接下载了spark的安装发行版安装后,也是一点登录就自动退出,所以我想是不是跟我的系统的环境有关了,比如JVM之类的)An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x047c6715, pid=3744, tid=2820
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [TcpIpDog0.dll+0x6715]
#
# An error report file with more information is saved as:
# D:\workspace\spark\hs_err_pid3744.log在hs_err_pid3744.log中的错误日志如下:
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x047c6715, pid=3744, tid=2820
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# C  [TcpIpDog0.dll+0x6715]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#---------------  T H R E A D  ---------------Current thread (0x02f96c00):  JavaThread "Thread-6" [_thread_in_native, id=2820, stack(0x04710000,0x04760000)]
.........VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 
java_command: org.jivesoftware.launcher.Startup
Launcher Type: SUN_STANDARDEnvironment Variables:
JAVA_HOME=D:\Java\jdk1.6.0_11
CLASSPATH=D:\Java\jdk1.6.0_11\lib
PATH=D:/Java/jre6/bin/client;D:/Java/jre6/bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\Program Files\TortoiseSVN\bin;D:\Java\jdk1.6.0_11\bin;d:\Qt\3.3.4\bin;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin;d:\Program Files\StormII\Codec;d:\Program Files\StormII
USERNAME=Feiyond
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel---------------  S Y S T E M  ---------------OS: Windows XP Build 2600 Service Pack 3CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 13 stepping 8, cmov, cx8, fxsr, mmx, sse, sse2Memory: 4k page, physical 1276720k(619864k free), swap 1512048k(925128k free)vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1time: Thu Feb 19 09:54:33 2009
elapsed time: 7 seconds

解决方案 »

  1.   

    问你一个简问题哈。。为什么我下载源码的时候。。提示com.apple包不存在。
      

  2.   

    好像谁下的都是com。apple都不存在 那个“好像”是apple机器的包 你windows系统就不要管就行了。
      

  3.   

    都是一样的没有com.apple包!
    楼主请问你配置服务器没有!一般来说需要配置一个服务器的!我使用的openfire作为服务器!
    这个地址有三篇博客是详细介绍如何安装和配置的!
    http://sun-snowfox.blog.sohu.com/74538502.html
    我的现在配置好了,就是在研究spark的源代码,进行二次开发,改成自己的东西!但是源代码太多,还在研究中!