我试图在本地构建应用程序,但出现以下错误:
**Unable to load realm mapping info from SCDynamicStore**
2012-12-03 18:13:23.910 java[1172:707]***Terminating app due to uncaught exception 'JavaNativeException', reason: 'KrbException: Could not load configuration from SCDynamicStore'
***First throw call stack:
(
0 CoreFoundation 0x00007fff919c30a6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff894ea3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff91a57229 -[NSException raise] + 9
3 JavaNativeFoundation 0x0000000104260c3f JNFCallStaticVoidMethod + 213
4 libjava.jnilib 0x00000001042b0169 Java_sun_security_krb5_SCDynamicStoreConfig_installNotificationCallback + 450
5 JavaNativeFoundation 0x0000000104263182 JNFPerformEnvBlock + 86
6 SystemConfiguration 0x00007fff9327f12d rlsPerform + 116
7 CoreFoundation 0x00007fff91942101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
8 CoreFoundation 0x00007fff91941a25 __CFRunLoopDoSources0 + 245
9 CoreFoundation 0x00007fff91964dc5 __CFRunLoopRun + 789
10 CoreFoundation 0x00007fff919646b2 CFRunLoopRunSpecific + 290
11 java 0x000000010394c843 java + 18499
12 java 0x000000010394c29a java + 17050
13 java 0x0000000103949a98 java + 6808
14 ??? 0x0000000000000008 0x0 + 8
)
libc++abi.dylib: terminate called throwing an exception
/bin/sh: line 1: 1172 Abort trap: 6 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx512M -XX:MaxPermSize=128M -jar /opt/pose/core/target/surefire/surefirebooter7934174390972693745.jar /opt/pose/core/target/surefire/surefire5395873653031509674tmp /opt/pose/core/target/surefire/surefire_01183106063530311982tmp
Results :
Tests run: 305, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.close(ForkClient.java:245)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:282)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:116)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:695)
at.........
这是在我将系统升级到OSX10.8.2之后开始的。我还将hadoop-env.sh更改为以下值:
export hadoop\u opts=“-djava.security.krb5.realm=ox.ac.uk-djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk”
并将hbase-env.sh更新为:
export hbase\u opts=“-ea-xx:+useConMarkSweepGC-xx:+cmsincrementalmode-djava.security.krb5.realm=-djava.security.krb5.kdc=”
我还安装了最新的xcode和所有的没有用。
1条答案
按热度按时间3npbholx1#
export maven_opts=“-djava.security.krb5.realm=ox.ac.uk-djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk”