Try renameing the magnolia-3.1-SNAPSHOT.war to magnoliaAuthor.war _before_ you deploy it to TC.

-Will

On 30.05.2007, at 11:01, Bansal, Vimal wrote:

Hi,
Thanks for your reply.
Now it's all work fine .I got the magnolia-3.1-SNAPSHOT.war as output of
build. war file contain all required jar file except any jsp page.
I deploy the war file in tomcat 5.0.28 server. And tried to access
application using url:-http://localhost:8080/magnoliaAuthor
But didn't get any response from server. Is there configuration needed
for deploy the application.
Thanks in Advance.
Vimal Bansal




-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 12:49 PM
To: [email protected]
Subject: Re: [magnolia-user] HELP!!!-build and compile source code

java.lang.Class.getSimpleName() is new in Java 5, you're probably not
using a java 5 jdk. From the stack trace it looks as ifit is the
EnforceMojo maven plugin that requires Java 5.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: den 30 maj 2007 07:26
To: [email protected]
Subject: Re: [magnolia-user] HELP!!!-build and compile source code

Hi Tobias,

Thanks for your reply .I have downloaded the source code from svn.
But still I am running in the problem. On execution of  mvn install
Getting following output.

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   magnolia-project
[INFO]   magnolia-core
[INFO]   magnolia-jaas
[INFO]   magnolia-exchange-simple
[INFO]   magnolia-gui
[INFO]   magnolia-module-admininterface
[INFO]   magnolia-module-mail
[INFO]   magnolia-module-templating
[INFO]   magnolia-module-workflow
[INFO]   magnolia-module-cache
[INFO]   magnolia-taglib-cms
[INFO]   magnolia-taglib-utility
[INFO]   magnolia-editor-fckeditor
[INFO]   magnolia-editor-kupu
[INFO]   magnolia-module-samples
[INFO]

---------------------------------------------------------------------- --
-
---
[INFO] Building magnolia-project
[INFO]    task-segment: [install]
[INFO]

---------------------------------------------------------------------- --
-
---
[INFO] [enforcer:enforce {execution: enforce}]
[INFO]

---------------------------------------------------------------------- --
[ERROR] FATAL ERROR
[INFO]

---------------------------------------------------------------------- --
[INFO] java.lang.Class.getSimpleName()Ljava/lang/String;
[INFO]

---------------------------------------------------------------------- --
[INFO] Trace
java.lang.NoSuchMethodError:
java.lang.Class.getSimpleName()Ljava/lang/String;
        at
org.apache.maven.plugin.enforcer.EnforceMojo.execute(EnforceMojo.java
:138)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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)
[INFO]

---------------------------------------------------------------------- --
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed May 30 10:51:11 GMT+05:30 2007
[INFO] Final Memory: 7M/13M


Thanks for your help in advance.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to