openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atanamir <step...@hyarros.com>
Subject Re: Compiling Trunk
Date Mon, 10 May 2010 22:15:49 GMT

Hi Donald,

Thanks for the reply.  Doesn't look like any 
java.io.FileNotFoundException was recorded.  The full error stack trace 
I've pasted at the bottom of this message.  It looks like the error 
happens in the tests, even though I've specified I don't want the tests 
to be compiled either.

Anyways, here are my versions:

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_18
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-22-generic" arch: "amd64" Family: "unix"

Thanks!

[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 84 source files to 
/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 
/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[984,18]

cannot find symbol
symbol  : method 
isMember(javax.persistence.criteria.Path<java.lang.String>,javax.persistence.criteria.Expression<java.util.Set<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

[ERROR] 
/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1063,18]

cannot find symbol
symbol  : method 
isNotMember(javax.persistence.criteria.Path<java.lang.String>,javax.persistence.criteria.Expression<java.util.Set<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

[ERROR] 
/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1140,18]

cannot find symbol
symbol  : method 
isMember(javax.persistence.criteria.Path<org.apache.openjpa.persistence.criteria.Photo>,javax.persistence.criteria.Expression<java.util.Collection<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

[ERROR] 
/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1220,18]

cannot find symbol
symbol  : method 
isNotMember(javax.persistence.criteria.Path<org.apache.openjpa.persistence.criteria.Photo>,javax.persistence.criteria.Expression<java.util.Collection<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[984,18]

cannot find symbol
symbol  : method 
isMember(javax.persistence.criteria.Path<java.lang.String>,javax.persistence.criteria.Expression<java.util.Set<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1063,18]

cannot find symbol
symbol  : method 
isNotMember(javax.persistence.criteria.Path<java.lang.String>,javax.persistence.criteria.Expression<java.util.Set<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1140,18]

cannot find symbol
symbol  : method 
isMember(javax.persistence.criteria.Path<org.apache.openjpa.persistence.criteria.Photo>,javax.persistence.criteria.Expression<java.util.Collection<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder

/data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1220,18]

cannot find symbol
symbol  : method 
isNotMember(javax.persistence.criteria.Path<org.apache.openjpa.persistence.criteria.Photo>,javax.persistence.criteria.Expression<java.util.Collection<java.lang.Object>>)
location: interface 
org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder


[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
     at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     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)
Caused by: org.apache.maven.plugin.CompilationFailureException: 
Compilation failure
     at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:613)
     at 
org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:146)
     at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
     ... 17 more
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 minute 2 seconds
[INFO] Finished at: Mon May 10 15:11:52 PDT 2010
[INFO] Final Memory: 74M/239M
[INFO] 
------------------------------------------------------------------------


On 5/10/2010 6:30 AM, DWoods [via OpenJPA] wrote:
> Do you see something like -
> > Caused by: java.io.FileNotFoundException:
> > (Too many open files)
>
> in the stack trace?  If so and you're on a Unix/Linux system, you need o
> increase the number of file handles.
>
> If not, what version of Maven and Java are you using?
>
>
> -Donald
>
>
> On 5/9/10 11:15 PM, atanamir wrote:
>
> >
> > Hi everyone,
> >
> > I'm trying to compile the trunk (I also tried the same on 2.0.0), 
> but I get
> > the following error:
> >
> > [INFO]
> > 
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > 
> ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> > 
> /data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[984,18]

>
> > cannot find symbol
> > symbol  : method
> > 
> isMember(javax.persistence.criteria.Path<java.lang.String>,javax.persistence.criteria.Expression<java.util.Set<java.lang.Object>>)

>
> > location: interface
> > org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder
> >
> > 
> /data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1063,18]

>
> > cannot find symbol
> > symbol  : method
> > 
> isNotMember(javax.persistence.criteria.Path<java.lang.String>,javax.persistence.criteria.Expression<java.util.Set<java.lang.Object>>)

>
> > location: interface
> > org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder
> >
> > 
> /data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1140,18]

>
> > cannot find symbol
> > symbol  : method
> > 
> isMember(javax.persistence.criteria.Path<org.apache.openjpa.persistence.criteria.Photo>,javax.persistence.criteria.Expression<java.util.Collection<java.lang.Object>>)

>
> > location: interface
> > org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder
> >
> > 
> /data/home/stephen/Code/OpenJPA/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/TestTypesafeCriteria.java:[1220,18]

>
> > cannot find symbol
> > symbol  : method
> > 
> isNotMember(javax.persistence.criteria.Path<org.apache.openjpa.persistence.criteria.Photo>,javax.persistence.criteria.Expression<java.util.Collection<java.lang.Object>>)

>
> > location: interface
> > org.apache.openjpa.persistence.criteria.OpenJPACriteriaBuilder
> >
> > I've tried the -DskipTests, -DfailIfNoTests=false, etc.
> >
> > mvn compile works fine, but package and install do not.  The same error
> > occurs when I try to compile the 2.0.0 tag as well.  Am I missing 
> some sort
> > of step?  I've tried purging my entire maven local repository, and 
> cleaned
> > and re-built, etc.
> >
> > Thanks,
> > atanamir
>
>
> ------------------------------------------------------------------------
> View message @ 
> http://openjpa.208410.n2.nabble.com/Compiling-Trunk-tp5028680p5030565.html 
>
> To unsubscribe from Compiling Trunk, click here 
> < (link removed) =>. 
>
>

-- 
View this message in context: http://openjpa.208410.n2.nabble.com/Compiling-Trunk-tp5028680p5033312.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message