I had a compilation error when i build rosjava_core source package
I had a problem when i build a rosjava_core source package. The error is like this:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':rosjava_bootstrap:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
The problem come from several .java source code. Did someone know what's happen?
***> Building > :rosjava_bootstrap:compileJava > Resolving dependencies ':rosjava_b:rosjava_bootstrap:compileJava
/home/elisa/my_workspace/rosjava_core/rosjava_bootstrap/src/main/java/org/ros/internal/message/DefaultMessageFactory.java:42: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
return messageProxyFactory.newMessageProxy(messageType, messageDefinition);
^
/home/elisa/my_workspace/rosjava_core/rosjava_bootstrap/src/main/java/org/ros/internal/message/MessageFieldType.java:56: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
return messageFactory.newFromType(messageIdentifier.getType());
^
/home/elisa/my_workspace/rosjava_core/rosjava_bootstrap/src/main/java/org/ros/internal/message/service/ServiceRequestMessageFactory.java:43: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
return messageProxyFactory.newMessageProxy(serviceType,
^
/home/elisa/my_workspace/rosjava_core/rosjava_bootstrap/src/main/java/org/ros/internal/message/service/ServiceResponseMessageFactory.java:43: type parameters of <T>T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object
return messageProxyFactory.newMessageProxy(serviceType,
^
Note: /home/elisa/my_workspace/rosjava_core/rosjava_bootstrap/src/main/java/org/ros/internal/message/MessageImpl.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors***