struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alapiessa Petri <Petri.Alapie...@profitsoftware.com>
Subject RE: Tutorials samples build failure: javac: invalid flag: -s
Date Tue, 22 May 2012 06:01:22 GMT
Thnaks for your reply!
I tried with jvm 1.5.22 and 1.6 and OS OS linux.
The first sample built ok, it had no java classes, just jsp and struts. This Hello world has
two java classes that seem to be problematic to build.
I'll try to check maven settings

Petri

-----Original Message-----
From: Łukasz Lenart [mailto:lukasz.lenart@googlemail.com] 
Sent: 21. toukokuuta 2012 14:02
To: Struts Users Mailing List
Subject: Re: Tutorials samples build failure: javac: invalid flag: -s

Just tried the same and it works smoothly ...

Java version ? OS ? Try with sample non-web neither non-struts2 maven app, looks like your
local Maven settings are broken....


Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/

2012/5/21 Alapiessa Petri <Petri.Alapiessa@profitsoftware.com>:
> Hello,
> I have downloaded sample nro 2 but build fails.
>
> http://code.google.com/p/struts2-examples/downloads/detail?name=Hello_
> World_Struts_2_Maven_2_3_1_2.zip&can=2&q=
>
> [INFO] Compiling 2 source files to 
> /home/petri/Documents/learning/struts/samples/Hello_World_Struts2_Mvn/
> target/classes [INFO] 
> -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] Failure executing javac, but could not parse the error:
> javac: invalid flag: -s
> Usage: javac <options> <source files>
>
> Can you polease help? Thank you very much.
>
> Ystävällisin terveisin,
> With best wishes,
>
> Petri Alapiessa
> Software Developer
> Profit Software Ltd
>
> petri.alapiessa@profitsoftware.com<mailto:petri.alapiessa@profitsoftwa
> re.com>
>
> www.profitsoftware.com<http://www.profitsoftware.com/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Mime
View raw message