Maven 错误构建 MILO OPC-UA

Maven Error Building MILO OPC-UA

我正在尝试将 Milo 构建为 运行 独立示例。从项目根目录我 运行 mvn clean install 但是 Maven 抱怨 bsd-parser-corebsd-parser-gson.

中的所有 org.opcfoundation.* 依赖项

错误信息:

[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

我需要从其他存储库中获取一些东西吗?

我正在使用 Maven 3.3.9 和 Java JDK 版本:1.8.0_111,来自 Oracle Corporation。

编辑 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[=11=].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[=11=].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] ------------------------------------------------------------------------

但是,当我尝试从项目根目录 运行ning 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 
...

你最近fetched/updated了吗?最近破坏构建的版本号存在一些问题:https://github.com/eclipse/milo/issues/230

它们已在 HEAD 上修复

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