启动hbase之后,发现hbase shell启动报错:

version 2.0.0-alpha4, r5c4b985f89c99cc8b0f8515a4097c811a0848835, Tue Oct 31 16:00:33 PDT 2017
[ERROR] Terminal initialization failed; falling back to unsupported
java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
    at jline.TerminalFactory.create(TerminalFactory.java:101)
    at jline.TerminalFactory.get(TerminalFactory.java:159)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
    at org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
    at org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
    at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
    at org.jruby.RubyClass.newInstance(RubyClass.java:994)
    at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
    at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:355)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
    at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
    at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:355)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:83)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:179)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:165)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
    at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:314)
    at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
    at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
    at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
    at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
    at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
    at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
    at usr.java.hbase_minus_2_dot_0_dot_0_minus_alpha4.bin.hirb.invokeOther148:print_banner(/usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:175)
    at usr.java.hbase_minus_2_dot_0_dot_0_minus_alpha4.bin.hirb.RUBY$script(/usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:175)
    at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
    at org.jruby.ir.Compiler$1.load(Compiler.java:95)
    at org.jruby.Ruby.runScript(Ruby.java:827)
    at org.jruby.Ruby.runNormally(Ruby.java:746)
    at org.jruby.Ruby.runNormally(Ruby.java:764)
    at org.jruby.Ruby.runFromMain(Ruby.java:577)
    at org.jruby.Main.doRunFromMain(Main.java:417)
    at org.jruby.Main.internalRun(Main.java:305)
    at org.jruby.Main.run(Main.java:232)
    at org.jruby.Main.main(Main.java:204)

Took 0.0120 seconds
Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
                     <init> at jline/console/ConsoleReader.java:228
                     <init> at jline/console/ConsoleReader.java:219
                     <init> at jline/console/ConsoleReader.java:207
               initReadline at org/jruby/ext/readline/Readline.java:105
      getHolderWithReadline at org/jruby/ext/readline/Readline.java:143
                 s_readline at org/jruby/ext/readline/Readline.java:169
                       call at org/jruby/ext/readline/Readline$INVOKER$s$s_readline.gen:-1
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:358
                       call at org/jruby/runtime/callsite/CachingCallSite.java:195
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:323
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:339
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
            INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:132
            commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:148
              yieldSpecific at org/jruby/runtime/IRBlockBody.java:84
              yieldSpecific at org/jruby/runtime/Block.java:134
              yieldSpecific at org/jruby/ir/runtime/IRRuntimeHelpers.java:419
                  interpret at org/jruby/ir/instructions/YieldInstr.java:74
             processOtherOp at org/jruby/ir/interpreter/StartupInterpreterEngine.java:187
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:111
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:179
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:165
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:348
                  callBlock at org/jruby/runtime/callsite/CachingCallSite.java:173
                       call at org/jruby/runtime/callsite/CachingCallSite.java:177
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:332
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
            INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:132
            commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:148
                       call at org/jruby/runtime/IRBlockBody.java:73
                       call at org/jruby/runtime/Block.java:124
                       call at org/jruby/RubyProc.java:289
                     call19 at org/jruby/RubyProc.java:273
                       call at org/jruby/RubyProc$INVOKER$i$0$0$call19.gen:-1
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:196
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:339
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:339
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:339
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:179
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:165
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:200
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:338
                       call at org/jruby/runtime/callsite/CachingCallSite.java:163
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:83
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:179
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:165
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:200
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:338
                       call at org/jruby/runtime/callsite/CachingCallSite.java:163
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:339
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:339
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
            INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:132
            commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:148
              yieldSpecific at org/jruby/runtime/IRBlockBody.java:84
              yieldSpecific at org/jruby/runtime/Block.java:134
                       loop at org/jruby/RubyKernel.java:1298
                       call at org/jruby/RubyKernel$INVOKER$s$0$0$loop.gen:-1
                       call at org/jruby/internal/runtime/methods/JavaMethod.java:498
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:298
                  callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79
                       call at org/jruby/runtime/callsite/CachingCallSite.java:83
                  interpret at org/jruby/ir/instructions/CallBase.java:428
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:355
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
            INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:132
            commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:148
                    doYield at org/jruby/runtime/IRBlockBody.java:186
                      yield at org/jruby/runtime/BlockBody.java:116
                      yield at org/jruby/runtime/Block.java:165
                      enter at org/jruby/RubyContinuation.java:107
            rbCatch19Common at org/jruby/RubyKernel.java:1127
                  rbCatch19 at org/jruby/RubyKernel.java:1120
                       call at org/jruby/RubyKernel$INVOKER$s$rbCatch19.gen:-1
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:348
                  callBlock at org/jruby/runtime/callsite/CachingCallSite.java:173
                       call at org/jruby/runtime/callsite/CachingCallSite.java:177
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:332
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:298
                  callBlock at org/jruby/runtime/callsite/CachingCallSite.java:79
                       call at org/jruby/runtime/callsite/CachingCallSite.java:83
                  interpret at org/jruby/ir/instructions/CallBase.java:428
                processCall at org/jruby/ir/interpreter/InterpreterEngine.java:355
                  interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:73
                  interpret at org/jruby/ir/interpreter/InterpreterEngine.java:77
           INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144
                       call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130
                       call at org/jruby/internal/runtime/methods/DynamicMethod.java:192
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
  invokeOther153:eval_input at usr/java/hbase_minus_2_dot_0_dot_0_minus_alpha4/bin//usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:199
             block in start at /usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:199
                yieldDirect at org/jruby/runtime/CompiledIRBlockBody.java:156
                      yield at org/jruby/runtime/BlockBody.java:114
                      yield at org/jruby/runtime/Block.java:165
                      enter at org/jruby/RubyContinuation.java:107
            rbCatch19Common at org/jruby/RubyKernel.java:1127
                  rbCatch19 at org/jruby/RubyKernel.java:1120
                       call at org/jruby/RubyKernel$INVOKER$s$rbCatch19.gen:-1
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:348
                  callBlock at org/jruby/runtime/callsite/CachingCallSite.java:173
                       call at org/jruby/runtime/callsite/CachingCallSite.java:177
       invokeOther195:catch at usr/java/hbase_minus_2_dot_0_dot_0_minus_alpha4/bin//usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:198
                      start at /usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:198
                       call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:77
                       call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:152
               cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:318
                       call at org/jruby/runtime/callsite/CachingCallSite.java:131
       invokeOther198:start at usr/java/hbase_minus_2_dot_0_dot_0_minus_alpha4/bin//usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:204
                     <main> at /usr/java/hbase-2.0.0-alpha4/bin/hirb.rb:204
        invokeWithArguments at java/lang/invoke/MethodHandle.java:627
                       load at org/jruby/ir/Compiler.java:95
                  runScript at org/jruby/Ruby.java:827
                runNormally at org/jruby/Ruby.java:746
                runNormally at org/jruby/Ruby.java:764
                runFromMain at org/jruby/Ruby.java:577
              doRunFromMain at org/jruby/Main.java:417
                internalRun at org/jruby/Main.java:305
                        run at org/jruby/Main.java:232
                       main at org/jruby/Main.java:204
问题原因:/usr/java/hadoop-2.6.5/share/hadoop/yarn/lib/jline-0.9.94.jar 版本低了

解决办法: 

rm -rf  /usr/java/hadoop-2.6.5/share/hadoop/yarn/lib/jline-0.9.94.jar

cp /usr/java/apache-hive-2.1.1-bin/lib/jline-2.12.jar /usr/java/hadoop-2.6.5/share/hadoop/yarn/lib/

hbase shell 启动报错的更多相关文章

  1. Hbase master启动报错:Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster Caused by: java.net.UnknownHostException:

    Hbase master启动报错: java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop ...

  2. 【原创】大叔问题定位分享(24)hbase standalone方式启动报错

    hbase 2.0.2 hbase standalone方式启动报错: 2019-01-17 15:49:08,730 ERROR [Thread-24] master.HMaster: Failed ...

  3. Oracle启动报错ORA-03113解决

    环境:RHEL6.4 + Oracle 11.2.0.4 步骤摘要:1.启动报错ORA-031132.查看alert日志查找原因3.根据实际情况采取合理的措施,这里我们先增加闪回区大小,把库启动起来4 ...

  4. Hbasewindows系统下启动报错及解决办法

    今天在本地windows电脑上,装pinpoint时,需要先安装一个Hbase数据库,按照教程下载启动Hbase数据库时,却启动报错:java.io.IOException: Could not lo ...

  5. SpringBoot启动报错Failed to determine a suitable driver class

    SpringBoot启动报错如下 Error starting ApplicationContext. To display the conditions report re-run your app ...

  6. hive启动报错(整合spark)

    spark整合hive后,hive启动报错: ls: cannot access /export/servers/spark/lib/spark-assembly-*.jar: No such fil ...

  7. Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误——SHH框架

    SHH框架工程,Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误 1.查看配置文件web.xml中是否配置.or ...

  8. 【原】tomcat 7 启动报错:java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig的解决

    现象: tomcat 7 启动报错:java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig() ...

  9. Oracle启动报错ORA-27102解决

    环境:RHEL5.5 + Oracle 10.2.0.4 此错误一般是因为数据库的初始化参数文件的内存设置不当导致.本例是因为操作系统参数设置问题导致. 当前现象:Oracle启动报错ORA-2710 ...

随机推荐

  1. Jna & twain

    参考海康威视Java版示例(采用Jna实现) 获得win32原生窗口句柄:HWND hwnd = new HWND(Native.getComponentPointer(panelRealplay)) ...

  2. Bootstrap 里的 popover 被挡住的解决方案

    在Bootstarp 中我们可以使用 popover 插件做一些内容的展示, 代码如下: <a data-toggle="popover" data-placement=&q ...

  3. Sword STL仿函数示例

    一元函数 unary_function .有返回值. .只有一个参数. template <class Arg, class Result> struct unary_function { ...

  4. php生成二维码的几种方式[转]

      二维码是二维条形码的一种,可以将网址.文字.照片等信息通过相应的编码算法编译成为一个方块形条码图案,手机用户可以通过摄像头和解码软件将相关信息重新解码并查看内容.PHP可以使用php QR Cod ...

  5. 获取select 的 val 和 text [转引]

    (原文地址:http://apps.hi.baidu.com/share/detail/6152780) jQuery获取Select选择的Text和Value:语法解释:1. $("#se ...

  6. Eclipse初次java开发问题总结-3

    上篇中提到解决的一个问题是mysql驱动报的: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link ...

  7. Lombok简化Java代码的好工具

    lombok 的官方网址:http://projectlombok.org/ 关于lombok 的介绍,有几篇帖子,写得都很好 比如 http://www.blogjava.net/fancydeep ...

  8. ssh命令详解3

    SSH 的详细使用方法如下: ssh [-l login_name] [hostname | user@hostname] [command] ssh [-afgknqtvxCPX246] [-c b ...

  9. Linux账号和权限管理

    一. 用户和组的管理  - Linux中用户种类 种类 特点 root 是管理员,拥有至高无上的权限,不受限制,UID为0 普通用户 管理员创建的用户,受权限限制,UID一般从500开始,可以登录系统 ...

  10. 一款纯HTML+CSS+JS富文本编辑器-handyeditor

    官网:http://he.catfish-cms.com/ 修改版本(修改一些BUG和图片上传服务器 点击下载: handyeditor富文本编辑器.zip): 图片上传接口上传类型: Content ...