Hello All,
Not sure what the issue is , can someone help ?, Iam new to using Maven
to build applications !!.
Thanks
Jayant 
INFO] Installing C:\shale\shale-framework-1.0.4-SNAPSHOT\pom.xml to
C:\Document
 and
Settings\jt8437\.m2\repository\org\apache\shale\shale-parent\1.0.4-SNAPS
HO
\shale-parent-1.0.4-SNAPSHOT.pom
INFO]
------------------------------------------------------------------------
-
--
INFO] Building Shale Test Framework
INFO]    task-segment: [install]
INFO]
------------------------------------------------------------------------
-
--
INFO] [resources:resources]
INFO] Using default encoding to copy filtered resources.
WARNING]
       Artifact javax.servlet:servlet-api:jar:2.4:provided retains local
scope
provided' overriding broader scope 'compile'
       given by a dependency. If this is not intended, modify or remove
the loc
l scope.

WARNING]
       Artifact xerces:xmlParserAPIs:jar:2.6.2:provided retains local
scope 'pr
vided' overriding broader scope 'compile'
       given by a dependency. If this is not intended, modify or remove
the loc
l scope.

WARNING]
       Artifact xerces:xercesImpl:jar:2.6.2:provided retains local scope
'provi
ed' overriding broader scope 'compile'
       given by a dependency. If this is not intended, modify or remove
the loc
l scope.

WARNING]
       Artifact xml-apis:xml-apis:jar:1.0.b2:provided retains local
scope 'prov
ded' overriding broader scope 'compile'
       given by a dependency. If this is not intended, modify or remove
the loc
l scope.

INFO] [compiler:compile]
ompiling 36 source files to
C:\shale\shale-framework-1.0.4-SNAPSHOT\shale-test\
arget\classes
INFO]
------------------------------------------------------------------------
ERROR] BUILD FAILURE
INFO]
------------------------------------------------------------------------
INFO] Compilation failure

:\shale\shale-framework-1.0.4-SNAPSHOT\shale-test\src\main\java\org\apac
he\shal
\test\mock\MockServletContext.java:[32,-1] cannot access
javax.servlet.RequestD
spatcher
ad class file: C:\Documents and
Settings\jt8437\.m2\repository\javax\servlet\se
vlet-api\2.4\servlet-api-2.4.jar(javax/servlet/RequestDispatcher.class)
lass file has wrong version 49.0, should be 48.0


INFO]
------------------------------------------------------------------------
INFO] Trace
rg.apache.maven.BuildFailureException: Compilation failure
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ltLifecycleExecutor.java:555)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
ecycle(DefaultLifecycleExecutor.java:475)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
tLifecycleExecutor.java:454)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
leFailures(DefaultLifecycleExecutor.java:306)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
s(DefaultLifecycleExecutor.java:273)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
ecycleExecutor.java:140)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
ava:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
orImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
aused by: org.apache.maven.plugin.CompilationFailureException:
Compilation fail
re
       at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
ojo.java:505)
       at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
       at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
Manager.java:412)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

Reply via email to