hashmapinc / nifi-opcua-bundle

Apache License 2.0
31 stars 11 forks source link

Compiling issue #58

Closed literally38 closed 6 years ago

literally38 commented 6 years ago

Hi I am still getting error messages when compiling

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile (default-testCompile) on project nifi-opcua-service: Compilation failure [ERROR] bootstrap class path not set in conjunction with -source 8 [ERROR] /Users/Chris/git/nifi-opcua-bundle/nifi-opcua-bundle/nifi-opcua-service/src/test/java/com/hashmapinc/tempus/processors/nifi_opcua_services/TestStandardOPCUAService.java:[46,21] error: constructor TestServer in class TestServer cannot be applied to given types;

any idea what it may be I am using ua stack 1.3.343

cherrera2001 commented 6 years ago

I am going to setup a clean instance of ubuntu and retry to reproduce this.

ed3766 commented 6 years ago

Test server only has the following constructor: TestServer(int port)

The issue is in line 46 of TestStandardOPCUAService.java: server = new TestServer(45678, "user", "test");

Need to update TestServer to add the username and password to the constructor.

cherrera2001 commented 6 years ago

After extensive screen sharing, and a large dose of it works-on-my-machine-itis @ed3766 and I have managed to fix the situation... It was a maven versioning issue on the embedded test server. It should work now if you follow the readme. Thanks for the report @literally38!