Eureka Streams Web Errors

202 views
Skip to first unread message

Khaled Saleh

unread,
Dec 14, 2012, 2:12:34 PM12/14/12
to eureka-st...@googlegroups.com

I got 3 compilation errors while running Eureka Streams Web project and here are the errors :



COMPILATION ERROR :
-------------------------------------------------------------
org/eurekastreams/web/client/ui/common/stream/renderers/RenderUtilities.java:[76,18] cannot find symbol
symbol  : method isActive()
location: class org.eurekastreams.server.domain.stream.StreamEntityDTO
org/eurekastreams/web/client/ui/common/avatar/AvatarLinkPanel.java:[94,18] cannot find symbol
symbol  : method isActive()
location: class org.eurekastreams.server.domain.stream.StreamEntityDTO
org/eurekastreams/web/client/ui/common/stream/comments/CommentPanel.java:[86,32] cannot find symbol
symbol  : method isAuthorActive()
location: class org.eurekastreams.server.search.modelview.CommentDTO
3 errors


Anyone can help me with these errors !!?

Steve Terlecki

unread,
Dec 17, 2012, 7:56:46 AM12/17/12
to eureka-st...@googlegroups.com
are you running this from the master branch out of the repo?

Do you see any errors that occur further up the maven output.  A lot of times, you can get a whole string of errors from one thing at the top.  It might be useful to attach the entire output from your compilation.

Khaled Saleh

unread,
Dec 17, 2012, 4:13:34 PM12/17/12
to eureka-st...@googlegroups.com
yes, i'm running this from the master branch
and here you are the entire output from my compilation




Some problems were encountered while building the effective model for org.eurekastreams:eurekastreams-web:war:2.0-SNAPSHOT
'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin is missing. @ line 1064, column 21

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.

                                                                       
------------------------------------------------------------------------
Building Eureka Streams Web 2.0-SNAPSHOT
------------------------------------------------------------------------
The POM for org.jboss.aop:jboss-aop:jar:2.0.0-SNAPSHOT is missing, no dependency information available
The POM for org.jboss.javaee:jboss-jca-api:jar:1.5.0-SNAPSHOT is missing, no dependency information available
The POM for com.google.gwt:gwt-incubator:jar:2.1.0 is missing, no dependency information available
The POM for com.googlecode.gchart:gchart:jar:2.7 is missing, no dependency information available

[clean:clean]

[checkstyle:checkstyle]

[buildnumber:create]
Storing buildNumber: 20121217231059 at timestamp: 1355778659038

[dependency:unpack-dependencies]
Unpacking /home/khaled/.m2/repository/org/eurekastreams/eurekastreams-database/2.0-SNAPSHOT/eurekastreams-database-2.0-SNAPSHOT-resources.zip to
  /home/khaled/NetBeansProjects/eurekastreams-master/web/target/unpack
   with includes null and excludes:null
Unpacking /home/khaled/.m2/repository/org/eurekastreams/eurekastreams-sharedresources/2.0-SNAPSHOT/eurekastreams-sharedresources-2.0-SNAPSHOT-resources.zip to
  /home/khaled/NetBeansProjects/eurekastreams-master/web/target/unpack
   with includes null and excludes:null

[resources:resources]
Using 'UTF-8' encoding to copy filtered resources.
Copying 18 resources to features
Copying 11 resources to conf
Copying 588 resources to public
Copying 7 resources to db/schema
Copying 152 resources to db/migration
Copying 6 resources to db/scripts
Copying 3 resources
Copying 6 resources to scripts

--- maven-antrun-plugin:1.6:run (set db script permissions) @ eurekastreams-web ---
Executing tasks

main:
Executed tasks

[compiler:compile]
Compiling 553 source files to /home/khaled/NetBeansProjects/eurekastreams-master/web/target/classes
-------------------------------------------------------------

COMPILATION ERROR :
-------------------------------------------------------------
org/eurekastreams/web/client/ui/common/stream/renderers/RenderUtilities.java:[76,18] cannot find symbol
symbol  : method isActive()
location: class org.eurekastreams.server.domain.stream.StreamEntityDTO
org/eurekastreams/web/client/ui/common/avatar/AvatarLinkPanel.java:[94,18] cannot find symbol
symbol  : method isActive()
location: class org.eurekastreams.server.domain.stream.StreamEntityDTO
org/eurekastreams/web/client/ui/common/stream/comments/CommentPanel.java:[86,32] cannot find symbol
symbol  : method isAuthorActive()
location: class org.eurekastreams.server.search.modelview.CommentDTO
3 errors
-------------------------------------------------------------
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 14.709s
Finished at: Mon Dec 17 23:11:08 EET 2012
Final Memory: 35M/302M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project eurekastreams-web: Compilation failure: Compilation failure:
/home/khaled/NetBeansProjects/eurekastreams-master/web/src/main/java/org/eurekastreams/web/client/ui/common/stream/renderers/RenderUtilities.java:[76,18] cannot find symbol

symbol  : method isActive()
location: class org.eurekastreams.server.domain.stream.StreamEntityDTO
/home/khaled/NetBeansProjects/eurekastreams-master/web/src/main/java/org/eurekastreams/web/client/ui/common/avatar/AvatarLinkPanel.java:[94,18] cannot find symbol

symbol  : method isActive()
location: class org.eurekastreams.server.domain.stream.StreamEntityDTO
/home/khaled/NetBeansProjects/eurekastreams-master/web/src/main/java/org/eurekastreams/web/client/ui/common/stream/comments/CommentPanel.java:[86,32] cannot find symbol

symbol  : method isAuthorActive()
location: class org.eurekastreams.server.search.modelview.CommentDTO
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Steve Terlecki

unread,
Dec 18, 2012, 7:23:47 AM12/18/12
to eureka-st...@googlegroups.com
Can you rerun the mvn command with the -e flag, copy the full compilation output to a text file and then upload it here.  I can see that there is a compilation failure, but I need more info.

Steve T.

Khaled Saleh

unread,
Dec 20, 2012, 11:03:53 PM12/20/12
to eureka-st...@googlegroups.com
here you are Steve, the full compilation output file

https://docs.google.com/document/d/1IzAsHsPcY5RJdTEvP7At2WPuM-OoFMWwJ5m_JzjCJdk/edit                                                                     

Steve Terlecki

unread,
Jan 22, 2013, 11:24:34 AM1/22/13
to eureka-st...@googlegroups.com
Sorry about taking so long to get back to you.  I wasn't around over the holidays and then got wrapped up in a different project at work.  I recently had to make some changes to the maven repo.  Hopefully this should help you a little.

I can't view the document you linked at the moment because I am at work, but I will see if I can take a look when I get home.

Steve T.

Steve Terlecki

unread,
Jan 24, 2013, 9:20:18 AM1/24/13
to eureka-st...@googlegroups.com
Khaled, 

Did you run the mvn command from the top level folder of the repo, or within the web folder?

The output you posted only shows the compilation of the web project and the errors you are getting seem to indicate that the compiler can't find resources from the server project which is typically built before the web project.

What version of maven are you running too?  We have had a few other developers reporting issues with maven 3.0.x that I am looking in to.  Maven 2.x seems to be working fine.  Also, are you pulling from the HEAD of the master branch or a different branch?

You can also rerun the mvn command with the -X flag to get full detailed debug information.

Given the output you supplied all I can really see is that the web compilation seems to be missing things that should be from the server project build.  If you run the maven command from the top level folder it should build them all in the correct order.

Steve T.
Reply all
Reply to author
Forward
0 new messages