java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • serengeti>pig script --location E:\M2\SpringHadoop\data.pig Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.pig. PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; at org.springframework.data.hadoop.impala.pig.PigCommands.script(PigComm ands.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source) serengeti>hive script --location E:\M2\SpringHadoop\data.hive Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.hive .HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/service/HiveClient; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveC ommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)
    via by Yifeng Xiao,
  • serengeti>pig script --location E:\M2\SpringHadoop\data.pig Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.pig. PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.pig.PigServerFactoryBean.getObject()Lorg/apache/pig/PigServer; at org.springframework.data.hadoop.impala.pig.PigCommands.script(PigComm ands.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source) serengeti>hive script --location E:\M2\SpringHadoop\data.hive Command failed java.lang.NoSuchMethodError: org.springframework.data.hadoop.hive .HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/service/HiveClient; Exception in thread "Spring Shell" java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveC ommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(R eflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleE xecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(Simple ExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractS hell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java: 480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)
    via by Yifeng Xiao,
    • java.lang.NoSuchMethodError: org.springframew ork.data.hadoop.hive.HiveClientFactoryBean.getObject()Lorg/apache/hadoop/hive/se rvice/HiveClient; at org.springframework.data.hadoop.impala.hive.HiveCommands.script(HiveCommands.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.shell.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:64) at org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:57) at org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:223) at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:480) at org.springframework.shell.core.JLineShell.run(JLineShell.java:158) at java.lang.Thread.run(Unknown Source)
    No Bugmate found.