By: Andres Torres user 18 Jul 2013 at 6:20 p.m. CDT

0 Responses
Andres Torres gravatar
Trying to follow the intructions described on the UMA video http://ox.gluu.org/doku.php?id=oxauth:uma_demo_presentation - Video: overview of code, Eclipse is unable to debug the code either on Windows or Linux Environments description: Windows 8 64-bit Java: 1.6.0_45-b06 Maven Version: 3.0.5 Eclipse Kepler + Google Plugin for Eclipse 4.3 (https://developers.google.com/eclipse/) Ubuntu 12.04 64bits java 7 maven 3 Eclipse Kepler + Google Plugin for Eclipse 4.3 (https://developers.google.com/eclipse/) - on Windows the project doesn't even build and error are shown: "SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation" ERROR: Doing mvn clean install [INFO] Reactor Summary: [INFO] [INFO] oxUma Demo ........................................ SUCCESS [0.761s] [INFO] oxUma Demo Common ................................. FAILURE [4.799s] [INFO] oxUma Demo Resource Server ........................ SKIPPED [INFO] oxUma Demo Requesting Party ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.870s [INFO] Finished at: Thu Jul 18 18:11:36 COT 2013 [INFO] Final Memory: 23M/213M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2. 3.2:compile (default-compile) on project oxuma-demo-common: Compilation failure: Compilation failure: [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\InMemoryAppender.java:[10,19] cannot find symbol [ERROR] symbol : class InterfaceRegistry [ERROR] location: package org.xdi.util [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\CommonUtils.java:[8,19] cannot find symbol [ERROR] symbol : class InterfaceRegistry [ERROR] location: package org.xdi.util [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\Configuration.java:[36,48] cannot find symbol [ERROR] symbol : method createJsonMapper() [ERROR] location: class org.xdi.util.Util [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\InMemoryAppender.java:[25,8] cannot find symbol [ERROR] symbol : variable InterfaceRegistry [ERROR] location: class org.xdi.uma.demo.common.server.InMemoryAppender [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\CommonUtils.java:[26,15] cannot find symbol [ERROR] symbol : variable InterfaceRegistry [ERROR] location: class org.xdi.uma.demo.common.server.CommonUtils [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\CommonUtils.java:[30,45] cannot find symbol [ERROR] symbol : variable InterfaceRegistry [ERROR] location: class org.xdi.uma.demo.common.server.CommonUtils [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\CommonUtils.java:[36,20] cannot find symbol [ERROR] symbol : variable InterfaceRegistry [ERROR] location: class org.xdi.uma.demo.common.server.CommonUtils [ERROR] \JPRoot\projects\Gluu\oxUmaDemo\Common\src\main\java\org\xdi\uma\demo\co mmon\server\CommonUtils.java:[46,23] cannot find symbol [ERROR] symbol : method asPrettyJson(java.lang.Object) [ERROR] location: class org.xdi.util.Util [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :oxuma-demo-common - on Linux project builds succesfuly from the command line and from Eclipse but debuging is not availble.