Hi Ognjen:

Thanks for your reply.

It's a compile-time error. Actually the error comes in the compile Maven goal 
(I put the log at the end).

The weirdest thing is: If I try to launch the project, I get this compilation 
error. If I comment out the troubling lines, and launch the project with Jetty 
(mvn package jetty:run), once it's deployed, if I uncomment those lines, the 
app works fine... it's just like a kind of problem with the dependencies at 
compile-time (but they're right, the package is detected by maven and the 
IDE...)

Thank you in advance.




----------------------------------------------------------

[INFO] [compiler:compile]
[INFO] Compiling 35 source files to 
/home/perseo/PFC/maven.1264475335794/target/classes
[ERROR] 

Mojo: 

    org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

FAILED for project: 

    es.udc:fiestas-de-galicia:war:1.0.0

Reason:

could not parse error message: [parsing started 
/home/perseo/PFC/maven.1264475335794/src/main/java/es/udc/fiestas/model/usuarioservice/UsuarioService.java]
[parsing completed 27ms]

[...]

[loading 
org/postgis/binary/BinaryParser.class(org/postgis/binary:BinaryParser.class)]
[loading 
org/postgis/binary/BinaryWriter.class(org/postgis/binary:BinaryWriter.class)]
/home/perseo/PFC/maven.1264475335794/src/main/java/es/udc/fiestas/model/util/types/PointType.java:15:
 package org.postgresql.util does not exist
import org.postgresql.util.PGobject;
                          ^

could not parse error message: [loading 
org/apache/tapestry5/ioc/annotations/UsesMappedConfiguration.class(org/apache/tapestry5/ioc/annotations:UsesMappedConfiguration.class)]
[loading 
org/apache/tapestry5/ioc/annotations/UsesOrderedConfiguration.class(org/apache/tapestry5/ioc/annotations:UsesOrderedConfiguration.class)]

[...]

[checking es.udc.fiestas.model.util.types.PointType]
/home/perseo/PFC/maven.1264475335794/src/main/java/es/udc/fiestas/model/util/types/PointType.java:63:
 cannot find symbol
symbol  : class PGobject
location: class es.udc.fiestas.model.util.types.PointType
        PGobject pgo = (PGobject) rs.getObject(names[0]);
        ^

/home/perseo/PFC/maven.1264475335794/src/main/java/es/udc/fiestas/model/util/types/PointType.java:[63,24]
 cannot find symbol
symbol  : class PGobject
location: class es.udc.fiestas.model.util.types.PointType

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Wed Aug 04 20:48:36 CEST 2010
[INFO] Final Memory: 7M/43M
[INFO] ------------------------------------------------------------------------



                                          

Reply via email to