Compilation Errors while building minioozie - apache
I'm new to oozie and\ trying to install minioozie to test the workflows in oozie. I tried to follow the steps present in apache site http://oozie.apache.org/docs/3.3.1/ENG_MiniOozie.html
I did the following steps:
git clone git://github.com/apache/oozie.git
mvn clean install -DskipTests -DtestJarSimple -X
The above statement fails with compile errors.
Stack Trace:
[INFO] Compiling 5 source files to /Users/skreddy/oozie/sharelib/pig/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[56,43] cannot find symbol
symbol: class ActionExecutorTestCase
public class TestPigActionExecutor extends ActionExecutorTestCase {
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[119,12] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[138,36] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[77,8] cannot find symbol
symbol : variable super
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[74,4] method does not override or implement a method from a supertype
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[82,8] cannot find symbol
symbol : variable super
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[83,8] cannot find symbol
symbol : method setSystemProperty(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[80,4] method does not override or implement a method from a supertype
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[91,8] cannot find symbol
symbol : method assertEquals(java.util.List<java.lang.Class>,java.util.List<java.lang.Class>)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[94,34] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[95,32] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[102,54] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[105,29] cannot find symbol
symbol : method createBaseWorkflow(org.apache.oozie.util.XConfiguration,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[109,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[109,30] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[112,53] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[113,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[114,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[115,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[116,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[122,24] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[125,54] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[128,55] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[128,8] cannot find symbol
symbol : variable SharelibUtils
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[130,29] cannot find symbol
symbol : method createBaseWorkflow(org.apache.oozie.util.XConfiguration,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[135,19] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[143,28] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[144,26] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[149,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[150,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[151,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[160,31] cannot find symbol
symbol : method getTestGroup()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[168,8] cannot find symbol
symbol : method assertNotNull(org.apache.hadoop.mapred.RunningJob)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[174,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[178,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[180,8] cannot find symbol
symbol : method sleep(int)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[215,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[218,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[221,30] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[222,76] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[224,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[231,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[233,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[237,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[241,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[245,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[255,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[258,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[265,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[267,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[268,8] cannot find symbol
symbol : method assertNotSame(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[270,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[281,8] cannot find symbol
symbol : method setSystemProperty(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[285,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[288,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[297,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[298,8] cannot find symbol
symbol : method assertNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[307,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[310,8] cannot find symbol
symbol : method assertTrue(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[313,30] cannot find symbol
symbol : method getTestUser()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[314,76] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[316,8] cannot find symbol
symbol : method assertFalse(boolean)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[323,8] cannot find symbol
symbol : method assertEquals(java.lang.String,java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[324,8] cannot find symbol
symbol : method assertNotNull(java.lang.String)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[328,32] cannot find symbol
symbol : class Predicate
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[334,8] cannot find symbol
symbol : method sleep(int)
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[357,24] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[359,31] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[364,33] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[365,34] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[373,34] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[374,32] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[385,24] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[387,31] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[388,50] cannot find symbol
symbol : method getTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[390,26] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[393,31] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[398,33] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[399,34] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[407,34] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[408,32] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[424,29] cannot find symbol
symbol : method getFsTestCaseDir()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[427,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[427,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[429,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[432,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[432,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[434,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[437,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[437,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[439,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[442,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[442,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[444,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[447,40] cannot find symbol
symbol : method getAppPath()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[447,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[449,8] cannot find symbol
symbol : method getFileSystem()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[452,40] cannot find symbol
symbol : method getJobTrackerUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[453,38] cannot find symbol
symbol : method getNameNodeUri()
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[ERROR] /Users/skreddy/oozie/sharelib/pig/src/test/java/org/apache/oozie/action/hadoop/TestPigActionExecutor.java:[469,8] cannot find symbol
symbol : class Context
location: class org.apache.oozie.action.hadoop.TestPigActionExecutor
[INFO] 100 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Oozie Main ................................. SUCCESS [1.150s]
[INFO] Apache Oozie Client ............................... SUCCESS [4.165s]
[INFO] Apache Oozie Hadoop 1.1.1.oozie-4.1.0-SNAPSHOT .... SUCCESS [0.233s]
[INFO] Apache Oozie Hadoop Distcp 1.1.1.oozie-4.1.0-SNAPSHOT SUCCESS [0.184s]
[INFO] Apache Oozie Hadoop 1.1.1.oozie-4.1.0-SNAPSHOT Test SUCCESS [0.283s]
[INFO] Apache Oozie Hadoop 2.2.0.oozie-4.1.0-SNAPSHOT .... SUCCESS [0.418s]
[INFO] Apache Oozie Hadoop 2.2.0.oozie-4.1.0-SNAPSHOT Test SUCCESS [0.336s]
[INFO] Apache Oozie Hadoop Distcp 2.2.0.oozie-4.1.0-SNAPSHOT SUCCESS [0.170s]
[INFO] Apache Oozie Hadoop 0.23.5.oozie-4.1.0-SNAPSHOT ... SUCCESS [0.340s]
[INFO] Apache Oozie Hadoop 0.23.5.oozie-4.1.0-SNAPSHOT Test SUCCESS [0.310s]
[INFO] Apache Oozie Hadoop Distcp 0.23.5.oozie-4.1.0-SNAPSHOT SUCCESS [0.181s]
[INFO] Apache Oozie Hadoop Libs .......................... SUCCESS [0.063s]
[INFO] Apache Oozie Hbase 0.94.2.oozie-4.1.0-SNAPSHOT .... SUCCESS [0.181s]
[INFO] Apache Oozie Hbase Libs ........................... SUCCESS [0.044s]
[INFO] Apache Oozie HCatalog 0.5.0.oozie-4.1.0-SNAPSHOT .. SUCCESS [0.308s]
[INFO] Apache Oozie HCatalog 0.6.0.oozie-4.1.0-SNAPSHOT .. SUCCESS [0.282s]
[INFO] Apache Oozie HCatalog Libs ........................ SUCCESS [0.069s]
[INFO] Apache Oozie Share Lib Oozie ...................... SUCCESS [1.256s]
[INFO] Apache Oozie Share Lib HCatalog ................... SUCCESS [0.553s]
[INFO] Apache Oozie Core ................................. SUCCESS [18.624s]
[INFO] Apache Oozie Docs ................................. SUCCESS [0.619s]
[INFO] Apache Oozie Share Lib Pig ........................ FAILURE [0.386s]
[INFO] Apache Oozie Share Lib Hive ....................... SKIPPED
[INFO] Apache Oozie Share Lib Sqoop ...................... SKIPPED
[INFO] Apache Oozie Share Lib Streaming .................. SKIPPED
[INFO] Apache Oozie Share Lib Distcp ..................... SKIPPED
[INFO] Apache Oozie WebApp ............................... SKIPPED
[INFO] Apache Oozie Examples ............................. SKIPPED
[INFO] Apache Oozie Share Lib ............................ SKIPPED
[INFO] Apache Oozie Tools ................................ SKIPPED
[INFO] Apache Oozie MiniOozie ............................ SKIPPED
[INFO] Apache Oozie Distro ............................... SKIPPED
The problem occurs with both oozie.4.0.0 and oozie.4.0.1
Apparently, the core test-jar (oozie-core-4.0.0-tests.jar) does not include all the needed classes. Adding a few classes in the core/pom.xml solved the problem:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
<configuration>
<includes>
<include>**/XFsTestCase.class</include>
<include>**/XTestCase.class</include>
<include>**/XTestCase$*.class</include>
<include>**/Mini*.class</include>
<include>**/MainTestCase.class</include>
<include>**/SharelibUtils.class</include>
<include>**/ActionExecutorTestCase.class</include>
<include>**/ActionExecutorTestCase$Context.class</include>
<include>**/MapperReducer*Test.class</include>
<include>**/LauncherMainTester.class</include>
<include>**/Test*ActionExecutor.class</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
It could be a bug in Maven with JDK7: http://jira.codehaus.org/browse/MCOMPILER-158 Try to increase your maven-compiler-plugin to 3.1
You can see in the pom.xml that they use version 2.3.2. They set the Java version to 1.6 but maybe it is not enough.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>
Related
Why is opendaylight not compiling
I want to use opendaylight but I have problem compiling it. I am trying to solve this problem but I do not know what should I do. Why is opendaylight not compiling: [ERROR] Failed to execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs (default) on project networkconfig.neutron.northbound: Execution default of goal org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs failed: A required class was missing while executing org.codehaus.enunciate:maven-enunciate-plugin:1.26.2:docs: com/sun/mirror/apt/AnnotationProcessorFactory [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.codehaus.enunciate:maven-enunciate-plugin:1.26.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/root/.m2/repository/org/codehaus/enunciate/maven-enunciate-plugin/1.26.2/maven-enunciate-plugin-1.26.2.jar [ERROR] urls[1] = file:/home/mahdi/Downloads/opendaylights/opendaylight/commons/logback_settings/target/commons.logback_settings-0.0.1-SNAPSHOT.jar [ERROR] urls[2] = file:/root/.m2/repository/org/codehaus/enunciate/maven-enunciate-slim-plugin/1.26.2/maven-enunciate-slim-plugin-1.26.2.jar [ERROR] urls[3] = file:/root/.m2/repository/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.jar [ERROR] urls[4] = file:/root/.m2/repository/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar [ERROR] urls[5] = file:/root/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.jar [ERROR] urls[6] = file:/root/.m2/repository/org/apache/maven/enforcer/enforcer-api/1.0/enforcer-api-1.0.jar [ERROR] urls[7] = file:/root/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[8] = file:/root/.m2/repository/org/apache/maven/shared/maven-filtering/1.0/maven-filtering-1.0.jar [ERROR] urls[9] = file:/root/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar [ERROR] urls[10] = file:/root/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar [ERROR] urls[11] = file:/root/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar [ERROR] urls[12] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar [ERROR] urls[13] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.12/plexus-interpolation-1.12.jar [ERROR] urls[14] = file:/root/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar [ERROR] urls[15] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar [ERROR] urls[16] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core/1.26.2/enunciate-core-1.26.2.jar [ERROR] urls[17] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core-rt/1.26.2/enunciate-core-rt-1.26.2.jar [ERROR] urls[18] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-core-annotations/1.26.2/enunciate-core-annotations-1.26.2.jar [ERROR] urls[19] = file:/root/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar [ERROR] urls[20] = file:/root/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar [ERROR] urls[21] = file:/root/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar [ERROR] urls[22] = file:/root/.m2/repository/net/sf/apt-jelly/apt-jelly-freemarker/2.15/apt-jelly-freemarker-2.15.jar [ERROR] urls[23] = file:/root/.m2/repository/net/sf/apt-jelly/apt-jelly-core/2.15/apt-jelly-core-2.15.jar [ERROR] urls[24] = file:/root/.m2/repository/org/freemarker/freemarker/2.3.14/freemarker-2.3.14.jar [ERROR] urls[25] = file:/root/.m2/repository/commons-digester/commons-digester/2.1/commons-digester-2.1.jar [ERROR] urls[26] = file:/root/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar [ERROR] urls[27] = file:/root/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar [ERROR] urls[28] = file:/usr/lib/jvm/java-8-oracle/jre/../lib/tools.jar [ERROR] urls[29] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-top/1.26.2/enunciate-top-1.26.2.jar [ERROR] urls[30] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jaxws-support/1.26.2/enunciate-jaxws-support-1.26.2.jar [ERROR] urls[31] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jaxws-ri/1.26.2/enunciate-jaxws-ri-1.26.2.jar [ERROR] urls[32] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-docs/1.26.2/enunciate-docs-1.26.2.jar [ERROR] urls[33] = file:/root/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.3/jackson-mapper-asl-1.9.3.jar [ERROR] urls[34] = file:/root/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.3/jackson-core-asl-1.9.3.jar [ERROR] urls[35] = file:/root/.m2/repository/org/jdom/jdom/1.1.2/jdom-1.1.2.jar [ERROR] urls[36] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jersey/1.26.2/enunciate-jersey-1.26.2.jar [ERROR] urls[37] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-jersey-rt/1.26.2/enunciate-jersey-rt-1.26.2.jar [ERROR] urls[38] = file:/root/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.3/jackson-jaxrs-1.9.3.jar [ERROR] urls[39] = file:/root/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.3/jackson-xc-1.9.3.jar [ERROR] urls[40] = file:/root/.m2/repository/com/sun/jersey/jersey-server/1.11/jersey-server-1.11.jar [ERROR] urls[41] = file:/root/.m2/repository/asm/asm/3.1/asm-3.1.jar [ERROR] urls[42] = file:/root/.m2/repository/com/sun/jersey/jersey-core/1.11/jersey-core-1.11.jar [ERROR] urls[43] = file:/root/.m2/repository/com/sun/jersey/jersey-servlet/1.11/jersey-servlet-1.11.jar [ERROR] urls[44] = file:/root/.m2/repository/javax/mail/mail/1.4.4/mail-1.4.4.jar [ERROR] urls[45] = file:/root/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar [ERROR] urls[46] = file:/root/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.3/jaxb-impl-2.2.3.jar [ERROR] urls[47] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-xml/1.26.2/enunciate-xml-1.26.2.jar [ERROR] urls[48] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-java-client/1.26.2/enunciate-java-client-1.26.2.jar [ERROR] urls[49] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-c/1.26.2/enunciate-c-1.26.2.jar [ERROR] urls[50] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-obj-c/1.26.2/enunciate-obj-c-1.26.2.jar [ERROR] urls[51] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-csharp/1.26.2/enunciate-csharp-1.26.2.jar [ERROR] urls[52] = file:/root/.m2/repository/org/codehaus/enunciate/enunciate-ruby/1.26.2/enunciate-ruby-1.26.2.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>org.opendaylight.controller:networkconfig.neutron.implementation:0.4.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] -----------------------------------------------------: com.sun.mirror.apt.AnnotationProcessorFactory [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :networkconfig.neutron.northbound what can i do about this problem.
visual studio not inputting URL into browser after driver.get(URL) because 'URL must be a string'
Inputting the code below in Visual Studio, typing "node index.js" into the Terminal Output gives me: "WebDriverError: unknown error: 'url' must be a string" -have tried just using driver.get(URL); and typing into the Terminal Output "Set URL=http://port-80-6p76k7hj7t.treehouse-app.com/ node index.js" which returns an error message of "A positional parameter cannot be found that accepts argument 'index.js'" -have tried \ and // for the URL This is the code that i'm using: require('chromedriver'); const selenium = require('selenium-webdriver'); const By = selenium.By; const driver = new selenium.Builder().forBrowser("chrome").build(); driver.get("https://port-80-6p76k7hj7t.treehouse-app.com/"); const locators = { inviteeForm: By.id("registrar"), inviteeNameField: By.name("name") }; function addInvitee(name) { driver.findElement(locators.inviteeNameField).sendKeys(name); driver.findElement(locators.inviteeForm).sub(); } add invitee("Kevin Smith"); add invitee("Joe Smith"); Error i'm getting is: [ERROR] node : C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\promise.js:2626 [ERROR] At line:1 char:1 [ERROR] + node index.js [ERROR] + ~~~~~~~~~~~~~ [ERROR] + CategoryInfo : NotSpecified: (C:\users\kevin....promise.js:2626:String) [], RemoteException [ERROR] + FullyQualifiedErrorId : NativeCommandError [ERROR] [ERROR] throw error; [ERROR] ^ [ERROR] [ERROR] WebDriverError: unknown error: 'url' must be a string [ERROR] (Session info: chrome=68.0.3440.106) [ERROR] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.17134 x86_64) [ERROR] at Object.checkLegacyResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\error.js:546:15) [ERROR] at parseHttpResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:509:13) [ERROR] at doSend.then.response (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:441:30) [ERROR] at process._tickCallback (internal/process/next_tick.js:68:7) [ERROR] From: Task: WebDriver.navigate().to(undefined) [ERROR] at thenableWebDriverProxy.schedule (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:807:17) [ERROR] at Navigation.to (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:1133:25) [ERROR] at thenableWebDriverProxy.get (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:988:28) [ERROR] at Object.<anonymous> (C:\users\kevin.yu\selenium-basics\node_modules\index.js:12:8) [ERROR] at Module._compile (internal/modules/cjs/loader.js:689:30) [ERROR] at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) [ERROR] at Module.load (internal/modules/cjs/loader.js:599:32) [ERROR] at tryModuleLoad (internal/modules/cjs/loader.js:538:12) [ERROR] at Function.Module._load (internal/modules/cjs/loader.js:530:3) [ERROR] at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) [ERROR] I am permanently stuck, please send help! Thanks in advance!
Titanium Text-to-Speech
I'm using ~Link~ to create a text to speech function for android in Titanium but I got some problem in development. The module supported TTS and STT, STT function is fine but the other is not working. I follow the documentation to create a controllers like this: var utterance = require('bencoding.utterance'), speech = utterance.createSpeech(); if(speech.isSpeaking){ Ti.API.info("already speaking"); } speech.startSpeaking({ text:"こんにちは" }); When I run the program. Console will show: [ERROR] : TiApplication: (main) [1191,10337] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.3.0,2014/07/11 12:36,787cd39 [ERROR] : TiApplication: java.lang.NullPointerException [ERROR] : TiApplication: at bencoding.utterance.SpeechProxy.onInit(SpeechProxy.java:72) [ERROR] : TiApplication: at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:640) [ERROR] : TiApplication: at android.speech.tts.TextToSpeech.access$1000(TextToSpeech.java:52) [ERROR] : TiApplication: at android.speech.tts.TextToSpeech$Connection.onServiceConnected(TextToSpeech.java:1296) [ERROR] : TiApplication: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1187) [ERROR] : TiApplication: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1204) [ERROR] : TiApplication: at android.os.Handler.handleCallback(Handler.java:615) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:92) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:155) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5511) [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:511) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796) [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method) even I copy the code from example. Is it my problem? Module is added into the program. Thank you.
I compile that module with Titanium 3.3.0GA and works the example. What version do you use? It is importante use this code for test device: win.addEventListener('open', function() { if(!utterance.isSupported()) { alert("Device not compatible"); } });
Mule 3.3.0 NoSuchMethodException javax.sql.DataSource
I have a maven based mule project that was original created with mule version 3.2.1. When I update my pom.xml to change mule.version from 3.2.1 to 3.3.0, I get the following exception when running my app. I run the app from within Eclipse by launching `org.mule.MuleServer -config src/main/app/mule-config.xml' This worked fine with 3.2.1. If I edit my pom.xml and change mule.version back to 3.2.1 it continues to run fine. However, I really need some bug fixes that are included in 3.3.0. Any ideas? [07-12 16:36:01] ERROR MuleServer [main]: ******************************************************************************** Message : could not find constructor on class: interface javax.sql.DataSource, with matching arg params: Type : org.mule.api.lifecycle.InitialisationException Code : MULE_ERROR-71999 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/InitialisationException.html Object : org.mule.config.bootstrap.SimpleRegistryBootstrap#12133926 ******************************************************************************** Exception stack is: 1. could not find constructor on class: interface javax.sql.DataSource, with matching arg params: (java.lang.NoSuchMethodException) org.mule.util.ClassUtils:408 (null) 2. could not find constructor on class: interface javax.sql.DataSource, with matching arg params: (org.mule.api.lifecycle.InitialisationException) org.mule.config.bootstrap.SimpleRegistryBootstrap:169 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/lifecycle/InitialisationException.html) ******************************************************************************** Root Exception stack trace: java.lang.NoSuchMethodException: could not find constructor on class: interface javax.sql.DataSource, with matching arg params: at org.mule.util.ClassUtils.instanciateClass(ClassUtils.java:408) at org.mule.util.ClassUtils.instanciateClass(ClassUtils.java:447) at org.mule.util.ClassUtils.instanciateClass(ClassUtils.java:419) at org.mule.config.bootstrap.SimpleRegistryBootstrap.registerObject(SimpleRegistryBootstrap.java:325) at org.mule.config.bootstrap.SimpleRegistryBootstrap.registerObjects(SimpleRegistryBootstrap.java:292) at org.mule.config.bootstrap.SimpleRegistryBootstrap.initialise(SimpleRegistryBootstrap.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.mule.config.spring.SpringRegistry.doInitialise(SpringRegistry.java:89) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:109) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:116) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:73) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:101) at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:57) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:80) at org.mule.MuleServer.initialize(MuleServer.java:375) at org.mule.MuleServer.run(MuleServer.java:284) at org.mule.MuleServer.start(MuleServer.java:271) at org.mule.MuleServer.main(MuleServer.java:142) ******************************************************************************** [07-12 16:36:01] ERROR MuleServer [main]: ******************************************************************************** * A Fatal error has occurred while the server was running: * * could not find constructor on class: interface javax.sql.DataSource, with * * matching arg params: (java.lang.NoSuchMethodException) * * * * The error is fatal, the system will shutdown * ********************************************************************************
Make sure all the Mule artifacts on the classpath are version 3.3.0. It seems you have a version mismatch as line 169 of SimpleRegistryBootstrap in mule-core-3.3.0.jar is commented out.
Maven : pom.xml, cannot resolve the package
I am trying to build the project using maven in the Jenkins continuous integration for that i have written pom.xml included all the required jar files my pom is as follows <modelVersion>4.0.0</modelVersion> <repositories> <repository> <id>central</id> <name>My Company's Internal Repository</name> <layout>default</layout> <url>file:///D:/MavenRepos/</url> </repository> </repositories> <groupId>codon</groupId> <artifactId>Struts2OfficeExpenses</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>Struts2Office Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.13</version> <scope>main</scope> </dependency> <dependency> <groupId>ibatis</groupId> <artifactId>ibatis-common</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-sqlmap</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>geronimo</groupId> <artifactId>geronimo-management</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.1</version> <scope>main</scope> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.1.8</version> <scope>main</scope> </dependency> </dependencies> <build> <finalName>Struts2OfficeExpenses</finalName> </build> </project> but still i am getting the following errors ' [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[9,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[10,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[11,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[12,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[13,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[17,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[18,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[19,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[20,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[25,32] cannot find symbol symbol: class Action public class FromAction extends Action { D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[30,31] cannot find symbol symbol : class ActionMapping location: class main.java.com.codon.user.action.FromAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[30,48] cannot find symbol symbol : class ActionForm location: class main.java.com.codon.user.action.FromAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[30,62] cannot find symbol symbol : class HttpServletRequest location: class main.java.com.codon.user.action.FromAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[30,85] cannot find symbol symbol : class HttpServletResponse location: class main.java.com.codon.user.action.FromAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[30,9] cannot find symbol symbol : class ActionForward location: class main.java.com.codon.user.action.FromAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\FromAction.java:[30,116] cannot find symbol symbol : class ServletException location: class main.java.com.codon.user.action.FromAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[8,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[9,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[10,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[11,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[12,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[16,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[17,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[18,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[19,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[25,34] cannot find symbol symbol: class Action public class UpdateAction extends Action { D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[30,31] cannot find symbol symbol : class ActionMapping location: class main.java.com.codon.user.action.UpdateAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[30,48] cannot find symbol symbol : class ActionForm location: class main.java.com.codon.user.action.UpdateAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[30,62] cannot find symbol symbol : class HttpServletRequest location: class main.java.com.codon.user.action.UpdateAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[30,85] cannot find symbol symbol : class HttpServletResponse location: class main.java.com.codon.user.action.UpdateAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[30,9] cannot find symbol symbol : class ActionForward location: class main.java.com.codon.user.action.UpdateAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\UpdateAction.java:[30,116] cannot find symbol symbol : class ServletException location: class main.java.com.codon.user.action.UpdateAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[3,0] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[7,0] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[8,0] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[14,34] cannot find symbol symbol: class Action public class LogoutAction extends Action { D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[16,30] cannot find symbol symbol : class ActionMapping location: class main.java.com.codon.user.action.LogoutAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[17,3] cannot find symbol symbol : class ActionForm location: class main.java.com.codon.user.action.LogoutAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[17,19] cannot find symbol symbol : class HttpServletRequest location: class main.java.com.codon.user.action.LogoutAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[18,3] cannot find symbol symbol : class HttpServletResponse location: class main.java.com.codon.user.action.LogoutAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[16,8] cannot find symbol symbol : class ActionForward location: class main.java.com.codon.user.action.LogoutAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LogoutAction.java:[18,39] cannot find symbol symbol : class ServletException location: class main.java.com.codon.user.action.LogoutAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[8,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[9,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[10,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[11,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[15,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[16,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[17,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[18,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[24,33] cannot find symbol symbol: class Action public class LoginAction extends Action { D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[29,31] cannot find symbol symbol : class ActionMapping location: class main.java.com.codon.user.action.LoginAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[29,48] cannot find symbol symbol : class ActionForm location: class main.java.com.codon.user.action.LoginAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[29,62] cannot find symbol symbol : class HttpServletRequest location: class main.java.com.codon.user.action.LoginAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[29,85] cannot find symbol symbol : class HttpServletResponse location: class main.java.com.codon.user.action.LoginAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[29,9] cannot find symbol symbol : class ActionForward location: class main.java.com.codon.user.action.LoginAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\LoginAction.java:[29,116] cannot find symbol symbol : class ServletException location: class main.java.com.codon.user.action.LoginAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\AddFormBean.java:[2,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\AddFormBean.java:[3,33] cannot find symbol symbol: class ActionForm public class AddFormBean extends ActionForm{ D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[8,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[9,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[10,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[11,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[15,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[16,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[17,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[18,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[24,32] cannot find symbol symbol: class Action public class ReadToList extends Action { D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[29,31] cannot find symbol symbol : class ActionMapping location: class main.java.com.codon.user.action.ReadToList D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[29,48] cannot find symbol symbol : class ActionForm location: class main.java.com.codon.user.action.ReadToList D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[29,62] cannot find symbol symbol : class HttpServletRequest location: class main.java.com.codon.user.action.ReadToList D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[29,85] cannot find symbol symbol : class HttpServletResponse location: class main.java.com.codon.user.action.ReadToList D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[29,9] cannot find symbol symbol : class ActionForward location: class main.java.com.codon.user.action.ReadToList D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\ReadToList.java:[29,116] cannot find symbol symbol : class ServletException location: class main.java.com.codon.user.action.ReadToList D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[8,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[9,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[10,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[11,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[12,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[16,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[17,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[18,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[19,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[25,34] cannot find symbol symbol: class Action public class DeleteAction extends Action { D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[30,31] cannot find symbol symbol : class ActionMapping location: class main.java.com.codon.user.action.DeleteAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[30,48] cannot find symbol symbol : class ActionForm location: class main.java.com.codon.user.action.DeleteAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[30,62] cannot find symbol symbol : class HttpServletRequest location: class main.java.com.codon.user.action.DeleteAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[30,85] cannot find symbol symbol : class HttpServletResponse location: class main.java.com.codon.user.action.DeleteAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[30,9] cannot find symbol symbol : class ActionForward location: class main.java.com.codon.user.action.DeleteAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\DeleteAction.java:[30,116] cannot find symbol symbol : class ServletException location: class main.java.com.codon.user.action.DeleteAction D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[9,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[10,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[11,20] package javax.servlet does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[12,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[13,25] package javax.servlet.http does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[17,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[18,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[19,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[20,31] package org.apache.struts.action does not exist D:\Projects\Jenkins-struts\src\main\java\com\codon\user\action\PurposeAction.java:[26,35] cannot find symbol symbol: class Action public class PurposeAction extends Action { ' please guide me..enter code here
I am trying to build the project using maven in the Jenkins continuous integration Take one step at a time. First try to make it work locally with maven, then try the same inside Jenkins. If you have a problem with dependencies, mvn dependency:list and mvn dependency:tree can be very helpful. It's important to take the scope of dependencies into account there. I see a weird <scope>main/<scope> in your pom.xml, that's probably the problem. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope for some documentation on scopes.
I could resolve the issue by modifying the pom as follows <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>codon</groupId> <artifactId>Struts2OfficeExpenses</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>Struts2Office Maven Webapp</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.13</version> <scope>test</scope> </dependency> <dependency> <groupId>ibatis</groupId> <artifactId>ibatis-common</artifactId> <version>2.0</version> <scope>system</scope> <systemPath>D:\MavenRepos\ibatis\ibatis-common\2.0\ibatis-common-2.0.jar</systemPath> </dependency> <dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-sqlmap</artifactId> <version>2.0</version> <scope>system</scope> <systemPath>D:\MavenRepos\org\apache\ibatis\ibatis-sqlmap\2.0\ibatis-sqlmap-2.0.jar</systemPath> </dependency> <dependency> <groupId>geronimo</groupId> <artifactId>geronimo-management</artifactId> <version>1.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.1.8</version> <scope>system</scope> <systemPath>D:\MavenRepos\repository\org\apache\struts\struts2-core\2.1.8\struts.jar</systemPath> </dependency> </dependencies> <build> <finalName>jk-ex-3-POM</finalName> </build> </project>