构建MILO OPC-UA的Maven错误

时间:2018-03-16 15:37:09

标签: maven opc-ua milo

我正在尝试构建Milo以运行独立示例。从项目根目录开始,我运行了mvn clean install,但对org.opcfoundation.*bsd-parser-core中的所有bsd-parser-gson依赖项进行了投诉。

错误讯息:

[INFO] 45 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Eclipse Milo Build Tools ........................... SUCCESS [  1.134 s]
[INFO] Eclipse Milo - OPC-UA (IEC 62541) .................. SUCCESS [  1.420 s]
[INFO] opc-ua-stack ....................................... SUCCESS [  1.026 s]
[INFO] stack-core ......................................... SUCCESS [ 13.145 s]
[INFO] stack-client ....................................... SUCCESS [  1.195 s]
[INFO] opc-ua-sdk ......................................... SUCCESS [  0.985 s]
[INFO] sdk-core ........................................... SUCCESS [  1.842 s]
[INFO] bsd-parser ......................................... SUCCESS [  0.240 s]
[INFO] bsd-parser-core .................................... FAILURE [  1.274 s]
[INFO] sdk-client ......................................... SKIPPED
[INFO] stack-server ....................................... SKIPPED
[INFO] sdk-server ......................................... SKIPPED
[INFO] milo-examples ...................................... SKIPPED
[INFO] server-examples .................................... SKIPPED
[INFO] client-examples .................................... SKIPPED
[INFO] standalone-examples ................................ SKIPPED
[INFO] bsd-parser-gson .................................... SKIPPED
[INFO] stack-examples ..................................... SKIPPED
[INFO] stack-tests ........................................ SKIPPED
[INFO] sdk-tests .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.517 s
[INFO] Finished at: 2018-03-16T15:16:34+00:00
[INFO] Final Memory: 43M/575M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (java-compile) on project bsd-parser-core: Compilation failure: Compilation failure:
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[50,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[51,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[52,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[169,19] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[171,29] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[352,29] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[374,36] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[398,68] cannot find symbol
[ERROR] symbol:   class SwitchOperand
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[419,42] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericStructCodec.java:[23,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericStructCodec.java:[27,31] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.GenericStructCodec
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericEnumCodec.java:[21,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericEnumCodec.java:[25,19] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.GenericEnumCodec
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericEnumCodec.java:[27,29] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.GenericEnumCodec
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[22,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[23,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[24,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[25,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[78,65] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[86,67] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericBsdParser.java:[18,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericBsdParser.java:[19,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericBsdParser.java:[24,56] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.GenericBsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericBsdParser.java:[29,58] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.GenericBsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[182,25] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[186,13] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[259,25] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[263,13] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[391,13] cannot find symbol
[ERROR] symbol:   class SwitchOperand
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[392,44] cannot find symbol
[ERROR] symbol:   variable SwitchOperand
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[400,18] cannot find symbol
[ERROR] symbol:   variable EQUALS
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[402,18] cannot find symbol
[ERROR] symbol:   variable NOT_EQUAL
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[404,18] cannot find symbol
[ERROR] symbol:   variable GREATER_THAN
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[406,18] cannot find symbol
[ERROR] symbol:   variable GREATER_THAN_OR_EQUAL
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[408,18] cannot find symbol
[ERROR] symbol:   variable LESS_THAN
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[410,18] cannot find symbol
[ERROR] symbol:   variable LESS_THAN_OR_EQUAL
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[43,55] cannot find symbol
[ERROR] symbol:   class ObjectFactory
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[45,9] cannot find symbol
[ERROR] symbol:   class TypeDictionary
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[45,42] cannot find symbol
[ERROR] symbol:   class TypeDictionary
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[48,67] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[50,17] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[50,50] cannot find symbol
[ERROR] symbol:   class EnumeratedType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[59,67] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[61,17] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/parser/BsdParser.java:[61,50] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.parser.BsdParser

我是否需要从其他存储库中获取内容?

我使用的是Oracle公司的Maven 3.3.9和Java JDK版本:1.8.0_111。

编辑1

执行git pull后,项目构建运行良好,如下所示:

Results :

Tests run: 12, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ sdk-tests ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ sdk-tests ---
[INFO] Installing D:\PRODUTECH\Workspace\milo\opc-ua-sdk\sdk-tests\target\sdk-tests-0.2.2-SNAPSHOT.jar to C:\Users\User\.m2\repository\org\eclipse\milo\sdk-tests\0.2.2-SNAPSHOT\sdk-tests-0.2.2-SNAPSHOT.jar
[INFO] Installing D:\PRODUTECH\Workspace\milo\opc-ua-sdk\sdk-tests\pom.xml to C:\Users\User\.m2\repository\org\eclipse\milo\sdk-tests\0.2.2-SNAPSHOT\sdk-tests-0.2.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Eclipse Milo Build Tools ........................... SUCCESS [  1.207 s]
[INFO] Eclipse Milo - OPC-UA (IEC 62541) .................. SUCCESS [  1.337 s]
[INFO] opc-ua-stack ....................................... SUCCESS [  1.146 s]
[INFO] stack-core ......................................... SUCCESS [ 19.878 s]
[INFO] stack-client ....................................... SUCCESS [  1.471 s]
[INFO] opc-ua-sdk ......................................... SUCCESS [  1.037 s]
[INFO] sdk-core ........................................... SUCCESS [  2.381 s]
[INFO] bsd-parser ......................................... SUCCESS [  0.227 s]
[INFO] bsd-parser-core .................................... SUCCESS [  3.927 s]
[INFO] sdk-client ......................................... SUCCESS [  8.032 s]
[INFO] stack-server ....................................... SUCCESS [  1.538 s]
[INFO] sdk-server ......................................... SUCCESS [ 13.693 s]
[INFO] milo-examples ...................................... SUCCESS [  0.203 s]
[INFO] server-examples .................................... SUCCESS [  3.474 s]
[INFO] client-examples .................................... SUCCESS [  1.059 s]
[INFO] standalone-examples ................................ SUCCESS [  0.756 s]
[INFO] bsd-parser-gson .................................... SUCCESS [  2.253 s]
[INFO] stack-examples ..................................... SUCCESS [  1.168 s]
[INFO] stack-tests ........................................ SUCCESS [01:40 min]
[INFO] sdk-tests .......................................... SUCCESS [ 20.385 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:06 min
[INFO] Finished at: 2018-03-20T15:03:53+00:00
[INFO] Final Memory: 88M/2061M
[INFO] ------------------------------------------------------------------------

但是,当我尝试构建独立示例时,从项目根运行mvn package -P standalone,之前的错误再次出现,如下所示:

[INFO] 45 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Eclipse Milo Build Tools ........................... SUCCESS [  1.034 s]
[INFO] Eclipse Milo - OPC-UA (IEC 62541) .................. SUCCESS [  1.414 s]
[INFO] opc-ua-stack ....................................... SUCCESS [  0.948 s]
[INFO] stack-core ......................................... SUCCESS [ 14.015 s]
[INFO] stack-client ....................................... SUCCESS [  0.972 s]
[INFO] opc-ua-sdk ......................................... SUCCESS [  0.935 s]
[INFO] sdk-core ........................................... SUCCESS [  1.679 s]
[INFO] bsd-parser ......................................... SUCCESS [  0.187 s]
[INFO] bsd-parser-core .................................... FAILURE [  1.222 s]
[INFO] sdk-client ......................................... SKIPPED
[INFO] stack-server ....................................... SKIPPED
[INFO] sdk-server ......................................... SKIPPED
[INFO] milo-examples ...................................... SKIPPED
[INFO] server-examples .................................... SKIPPED
[INFO] client-examples .................................... SKIPPED
[INFO] standalone-examples ................................ SKIPPED
[INFO] bsd-parser-gson .................................... SKIPPED
[INFO] stack-examples ..................................... SKIPPED
[INFO] stack-tests ........................................ SKIPPED
[INFO] sdk-tests .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.650 s
[INFO] Finished at: 2018-03-20T15:06:43+00:00
[INFO] Final Memory: 44M/1294M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (java-compile) on project bsd-parser-core: Compilation failure: Compilation failure:
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[50,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[51,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[52,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[169,19] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[171,29] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[352,29] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[374,36] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[398,68] cannot find symbol
[ERROR] symbol:   class SwitchOperand
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/AbstractCodec.java:[419,42] cannot find symbol
[ERROR] symbol:   class FieldType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.AbstractCodec<StructureT,MemberT>
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericStructCodec.java:[23,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericStructCodec.java:[27,31] cannot find symbol
[ERROR] symbol:   class StructuredType
[ERROR] location: class org.eclipse.milo.opcua.binaryschema.GenericStructCodec
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericEnumCodec.java:[21,44] package org.opcfoundation.opcua.binaryschema does not exist
[ERROR] /D:/PRODUTECH/Workspace/milo/opc-ua-stack/bsd-parser/bsd-parser-core/src/main/java/org/eclipse/milo/opcua/binaryschema/GenericEnumCodec.java:[25,19] cannot find symbol 
...

2 个答案:

答案 0 :(得分:1)

org.opcfoundation。*来源是在“生成源”期间生成的。阶段并放在../target/generated-sources中。在Eclipse中,您必须将此文件夹添加到构建路径。 打开bsd-parser-core的属性对话框,打开构建路径文件夹并添加源文件夹。

build-path dialog

答案 1 :(得分:0)

您最近获取/更新了吗?版本号存在一些问题,最近破坏了构建:https://github.com/eclipse/milo/issues/230

它们已在HEAD上修复