On 3/24/08, simon <[EMAIL PROTECTED]> wrote:
> +1, good idea to add this to the FAQ.
Thanks Simon. Posted as MNG-3481.
Wayne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Mon, 2008-03-24 at 09:22 -0500, Wayne Fay wrote:
> We need to put an entry in the FAQ:
>
> Q: My project compiles in Eclipse and not Maven. Why is Maven broken?
> A: Eclipse has its own compiler (JDT) that does things differently
> than Maven (which uses your JDK's javac). Try compiling your p
We need to put an entry in the FAQ:
Q: My project compiles in Eclipse and not Maven. Why is Maven broken?
A: Eclipse has its own compiler (JDT) that does things differently
than Maven (which uses your JDK's javac). Try compiling your project
with javac from the JDK and specifying your dependencies
hi,
i think i found the problem.
i tried to compile the .java file with javac and it failed (in eclipse it
was successful).
when i make some change at the .java file and javac worked well then maven
worked well also.
thanks for your help.
Avi.
On Mon, Mar 24, 2008 at 12:33 PM, Tim Kettler <[EMAIL
Hi,
As Simon guessed, too, I guess it's just a char-set/file-encoding issue.
Can you go to a plain texteditor available on your platform (notepad,
gedit, kate, nano ... whatever is available) and create a simple test
class in src/main/java:
Test.java:
import com.gigaspaces.*;
public cla
yep, same .jar file, no error on eclipse, yes error on maven...
On Mon, Mar 24, 2008 at 11:32 AM, simon <[EMAIL PROTECTED]> wrote:
> When you are compiling with Eclipse, is eclipse configured to use
> *exactly* the same jarfile that maven is putting on the classpath, ie
> something under ~/.m2/re
When you are compiling with Eclipse, is eclipse configured to use
*exactly* the same jarfile that maven is putting on the classpath, ie
something under ~/.m2/repository/gigaspaces? If not try that, and see
what happens.
If eclipse is using exactly the same file, then I have no idea what the
proble
ok, thanks for the mailing tip - didn't thought about it. im using gmail and
it made it automatically.
i will keep replying at top for now like you for not having more mess.
the error is broken bcuz the command line print it like that. nothing to do
with the code.
the project is compiled fine at
Hi Avi,
First, when someone replies by adding their comments at the bottom of
the reply email, please do not then add your comments at the top. It's
rude and makes the email hard to read. I'm posting at the top here only
to avoid making things worse.
The error message looks suspicious:
package
well, unfortunely you guessed wrong... im using .
and the classpath element included my wanted ,jar file.
my pom.xml is:
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
On Sun, Mar 23, 2008 at 11:51 AM, Avi Laviad <[EMAIL PROTECTED]> wrote:
> the project is compiled and build successfully when i try it on Eclipse.
> the error is "package com.gigaspaces.* does not exist".
> I think its compile error because it doesn't find the .jar file it should
> reference to
hi,
the project is compiled and build successfully when i try it on Eclipse.
the error is "package com.gigaspaces.* does not exist".
I think its compile error because it doesn't find the .jar file it should
reference to - and this is my problem - i added a dependency in the
pom.xmlfor the .jar that
On Sun, Mar 23, 2008 at 10:28 AM, Avi L <[EMAIL PROTECTED]> wrote:
> hi,
> im trying to build my project which depended on a 3rd party jar.
>
> i made "mvn install:install-file" [1] and then added the dependency to my
> project's pom.xml [2].
> but still when i do "mvn compile" i get the mess
[1] mvn install:install-file -Dfile=c:\SOMEPATH\JSpaces.jar
-DgroupId=gigaspaces -DartifactId=JSpaces -Dversion=6.5 -Dpackaging=jar
-DgeneratePom=true
[2]
gigaspaces
JSpaces
6.5
--
View this message in context:
http://www.nabble.com/package-does-not-exit-error
14 matches
Mail list logo