Hi guys
I've got a web subproject that is failing to compile on my Linux box.The same project
compiles without any problem on another XP box.On both machines , my JAVA_HOME is
pointing the the IBM java home.When i run maven on the redhat box the web project
fails to compile , with the following message:
error: The encoding null is not supported
/home/maven/maven-1.0/projects_main/projects/Support/Support_Web/Java
Source/singlesignon/server/SignOnAction.java:17: web.utils.StringUtils is not public
in web.utils; cannot be accessed from outside package
import web.utils.StringUtils;
^
/home/maven/maven-1.0/projects_main/projects/Support/Support_Web/Java
Source/struts/SupportServiceProxy.java:128: web.utils.StringUtils is not public in
web.utils; cannot be accessed from outside package
import web.utils.StringUtils;
^
/home/maven/maven-1.0/projects_main/projects/Support/Support_Web/Java
Source/struts/cost/CaptureCostActionForm.java:19: web.utils.StringUtils is not public
in web.utils; cannot be accessed from outside package
import web.utils.StringUtils;
^
/home/maven/maven-1.0/projects_main/projects/Support/Support_Web/Java
Source/struts/cost/CostBuilder.java:20: web.utils.StringUtils is not public in
web.utils; cannot be accessed from outside package
import web.utils.StringUtils;
........................
BUILD FAILED
File...... /home/maven/maven-1.0/projects_main/projects/Support/maven.xml
Element... m:reactor
Line...... 52
Column.... 40
Unable to obtain goal [Support-build-all] --
/home/maven/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: <ant:javac> Compile
failed; see
the compiler error output for details.
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [build-all] --
/home/maven/maven-1.0/projects_main/projects/Support/maven.xml:52:40: <m:reactor>
Reactor subproject failure occurred
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException:
/home/maven/maven-1.0/projects_main/projects/Support/maven.xml:52:40: <m:reactor>
Reactor
subproject failure occurred
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:352)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
at java.lang.reflect.Method.invoke(Native Method)
The web.utils.StringUtils class it's complaining about is indeed a public class.As I
mentioned earlier , the same project builds without issues on the XP machine
Any ideas?
jeff mutonho
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!