Hi, first of all you shouldn't build and run Graylog as root user. This screams for permission problems at a later time.
Second, the current master branch of Graylog is working and green (https://travis-ci.org/Graylog2/graylog2-server/builds), meaning that this is most likely a local problem. Did you build the complete graylog2-server repository or only a sub-module? Since you seem to be operating on the SNAPSHOT version (i. e. master) there may be lots of ABI-incompatible changes to the code. Run `mvn clean install` in the root directory of the repository to verify that. Cheers, Jochen On Tuesday, 7 July 2015 11:29:23 UTC+2, blind wrote: > > I try as a root, and this is what I got now when I tried to compile. > > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /home/duje/workspace/Test/graylog2-server/src/main/java/org/graylog2/bindings/ServerObjectMapperModule.java:[28,48] > > cannot find symbol > symbol: method makeObjectMapper() > [ERROR] > /home/duje/workspace/Test/graylog2-server/src/main/java/org/graylog2/bindings/ServerObjectMapperModule.java:[26,5] > > method does not override or implement a method from a supertype > [ERROR] > /home/duje/workspace/Test/graylog2-server/src/main/java/org/graylog2/rest/resources/search/SearchResource.java:[157,41] > > method create in class > org.graylog2.rest.models.system.indexer.responses.IndexRangeSummary cannot > be applied to given types; > required: > java.lang.String,org.joda.time.DateTime,org.joda.time.DateTime,org.joda.time.DateTime,int > found: java.lang.String,org.joda.time.DateTime,org.joda.time.DateTime,int > reason: actual and formal argument lists differ in length > [INFO] 3 errors > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10.185 s > [INFO] Finished at: 2015-07-07T11:27:57+02:00 > [INFO] Final Memory: 40M/345M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > (default-compile) on project graylog2-server: Compilation failure: > Compilation failure: > [ERROR] > /home/duje/workspace/Test/graylog2-server/src/main/java/org/graylog2/bindings/ServerObjectMapperModule.java:[28,48] > > cannot find symbol > [ERROR] symbol: method makeObjectMapper() > [ERROR] > /home/duje/workspace/Test/graylog2-server/src/main/java/org/graylog2/bindings/ServerObjectMapperModule.java:[26,5] > > method does not override or implement a method from a supertype > [ERROR] > /home/duje/workspace/Test/graylog2-server/src/main/java/org/graylog2/rest/resources/search/SearchResource.java:[157,41] > > method create in class > org.graylog2.rest.models.system.indexer.responses.IndexRangeSummary cannot > be applied to given types; > [ERROR] required: > java.lang.String,org.joda.time.DateTime,org.joda.time.DateTime,org.joda.time.DateTime,int > [ERROR] found: > java.lang.String,org.joda.time.DateTime,org.joda.time.DateTime,int > [ERROR] reason: actual and formal argument lists differ in length > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
