Hybris6.3构建错误,如编译失败

2020-09-21 13:09发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)在Hybris6.3中尝试构建应...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


在Hybris6.3中尝试构建应用程序时,它会产生编译时错误,例如无法在" commercefacades"扩展中找到以下类。

类是

导入de.hybris.platform.commercefacades.comment.data.CommentData; import de.hybris.platform.commercefacades.order.data.CommerceCartMetadata import de.hybris.platform.commercefacades.quote.data.DiscountTypeData; 导入de.hybris.platform.commercefacades.quote.data.QuoteData;

3条回答
clasier
2020-09-21 13:21

非常感谢Ryan。 现在,编译错误得到解决。 但是当我更新平台->更新时,我面临以下问题。 [java]错误[main] [] [] [初始化]表没有列OrderPK [java] java.lang.IllegalStateException:表在de.hybris.bootstrap.ddl.DatabaseModelGenerator.getColumn上没有列OrderPK [java] (DatabaseModelGenerator.java:786)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.createItemRelatedIndex(DatabaseModelGenerator.java:640)〜[ybootstrap.jar :?] [java]位于de .hybris.bootstrap.ddl.DatabaseModelGenerator.collectIndexes(DatabaseModelGenerator.java:612)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.collectAttributesAndIndicesForTable(DatabaseModelGenerator.java:469)〜[ybootstrap .jar :?] [java] at de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:311)〜[ybootstrap.jar :?] [java] at de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType (DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java],位于de.hybris.bootstrap.ddl.DatabaseModelGenera tor.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java] at de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java ]在de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java]在de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321) 〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.prepareDatabase(DatabaseModelGenerator.java:235)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl。 DatabaseModelGenerator.createDatabaseModel(DatabaseModelGenerator.java:108)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.HybrisSchemaGenerator.buildDbModel(HybrisSchemaGenerator.java:458)〜[ybootstrap.jar :?] [java ]在de.hybris.bootstrap.ddl.HybrisSchemaGenerator.update(HybrisSchemaGenerator.java:212)〜[ybootstrap.jar :?] [java]在de.hybris.p latform.core.Initialization.initializeSchemaAndTypeSystemFullyNewStyle(Initialization.java:1247)〜[coreserver.jar :?] [java]位于de.hybris.platform.core.Initialization.initialize(Initialization.java:1116)[coreserver.jar :? ] [java] at de.hybris.platform.core.Initialization.createEmptySystemOrUpdate(Initialization.java:787)[coreserver.jar :?] [java] at de.hybris.platform.core.Initialization.access $ 4(Initialization.java :767)[coreserver.jar :?] [java]在de.hybris.platform.core.Initialization $ 4.call(Initialization.java:574)[coreserver.jar :?] [java]在de.hybris.platform。 core.Initialization $ 4.call(Initialization.java:1)[coreserver.jar :?] [java] at.hybris.platform.core.Initialization $ SessionRecoveryAfterRegistryStartupAwareExecutor.execute(Initialization.java:709)[coreserver.jar :? ] [java] at de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:577)[coreserver.jar :?] [java] at de.hybris.platform.core.Initialization.access $ 5(Initialization.java :494)[coreserver.jar: ?] [java] at de.hybris.platform.core.Initialization $ 5.call(Initialization.java:820)[coreserver.jar :?] [java] at de.hybris.platform.core.Initialization $ 5.call(Initialization .java:1)[coreserver.jar :?] [java]位于de.hybris.platform.core.system.InitializationLockHandler.performLocked(InitializationLockHandler.java:80)[coreserver.jar :?] [java]位于de.hybris .platform.core.Initialization.doInitialize(Initialization.java:852)[coreserver.jar :?] [java] at.hybris.ant.taskdefs.InitPlatformAntPerformableImpl.performImpl(InitPlatformAntPerformableImpl.java:106)[coreserver.jar :? ] [java] at de.hybris.ant.taskdefs.AbstractAntPerformable.doPerform(AbstractAntPerformable.java:87)[coreserver.jar :?] [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)〜[?:1.8 .0_162] [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162] [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[? :1.8.0_162] [java] 在java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162] [java]在bsh.Reflect.invokeMethod(Reflect.java:134)[bsh-2.0b5.jar:2.0 b5 2005-06-12 04:50:41] [java] at bsh.Reflect.invokeObjectMethod(Reflect.java:80)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [ java] at bsh.Name.invokeMethod(Name.java:858)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java: 75)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)[bsh-2.0b5.jar:2.0b5 2005 -06-12 04:50:41] [java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] 在bsh.Interpreter.eval(Interpreter.java:645)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java]在bsh.Interpreter.eval(Interpreter.java:739) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.Interpreter.eval(Interpreter.java:728)[bsh-2.0b5.jar:2.0b5 2005-06 -12 04:50:41] [java]位于de.hybris.platform .util.ClientExecuter.execute(ClientExecuter.java:43)[coreserver.jar :?] [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)〜[?:1.8.0_162] [java] at sun.reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162] [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1.8.0_162] [java]在java .lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162] [java],位于de.hybris.bootstrap.loader.Loader.execute(Loader.java:142)[ybootstrap.jar: ?] de.hybris.bootstrap.loader.Loader.main(Loader.java:118)上的[java] [ybootstrap.jar :?] [java]错误[main] [] [] [AbstractAntPerformable] perfort任务发生错误 [java] java.lang.IllegalStateException:表在de.hybris.bootstrap.ddl.DatabaseModelGenerator.getColumn(DatabaseModelGenerator.java:786)〜[ybootstrap.jar :?]处没有列OrderPK [java] .hybris.bootstrap.ddl.DatabaseModelGenerator.createItemRelatedIndex(DatabaseModelGenerator .java:640)〜[ybootstrap.jar :?] [java] at de.hybris.bootstrap.ddl.DatabaseModelGenerator.collectIndexes(DatabaseModelGenerator.java:612)〜[ybootstrap.jar :?] [java] at de.hybris .bootstrap.ddl.DatabaseModelGenerator.collectAttributesAndIndicesForTable(DatabaseModelGenerator.java:469)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:311)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator .java:321)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java]位于de.hybris .bootstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java],位于de.hybris.boo tstrap.ddl.DatabaseModelGenerator.extractDeploymentForType(DatabaseModelGenerator.java:321)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.prepareDatabase(DatabaseModelGenerator.java:235)〜[ybootstrap.jar: ?] [java]位于de.hybris.bootstrap.ddl.DatabaseModelGenerator.createDatabaseModel(DatabaseModelGenerator.java:108)〜[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.ddl.HybrisSchemaGenerator.buildDbModel(HybrisSchemaGenerator。 java:458)〜[ybootstrap.jar :?] [java]在de.hybris.bootstrap.ddl.HybrisSchemaGenerator.update(HybrisSchemaGenerator.java:212)〜[ybootstrap.jar :?] [java]在de.hybris。 platform.core.Initialization.initializeSchemaAndTypeSystemFullyNewStyle(Initialization.java:1247)〜[coreserver.jar :?] [java]位于de.hybris.platform.core.Initialization.initialize(Initialization.java:1116)〜[coreserver.jar: ?] [java]位于de.hybris.platform.core.Initialization.createEmptySystemOrUpdate(Initialization.java:787)〜[coreserver.jar :?] [java]位于de.hybris.platform.cor e.Initialization.access $ 4(Initialization.java:767)〜[coreserver.jar :?] [java]位于de.hybris.platform.core.Initialization $ 4.call(Initialization.java:574)〜[coreserver.jar: ?] [java] at de.hybris.platform.core.Initialization $ 4.call(Initialization.java:1)〜[coreserver.jar :?] [java] at de.hybris.platform.core.Initialization $ SessionRecoveryAfterRegistryStartupAwareExecutor.execute (Initialization.java:709)〜[coreserver.jar :?] [java] at de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:577)〜[coreserver.jar :?] [java] at de .hybris.platform.core.Initialization.access $ 5(Initialization.java:494)〜[coreserver.jar :?] [java] at de.hybris.platform.core.Initialization $ 5.call(Initialization.java:820)〜 [coreserver.jar :?] [java]位于de.hybris.platform.core.Initialization $ 5.call(Initialization.java:1)〜[coreserver.jar :?] [java]位于de.hybris.platform.core。 system.InitializationLockHandler.performLocked(InitializationLockHandler.java:80)〜[coreserver.jar :?] [java]在de.hybris.platform .core.Initialization.doInitialize(Initialization.java:852)〜[coreserver.jar :?] [java] at de.hybris.ant.taskdefs.InitPlatformAntPerformableImpl.performImpl(InitPlatformAntPerformableImpl.java:106)〜[coreserver.jar :? ] [java] at de.hybris.ant.taskdefs.AbstractAntPerformable.doPerform(AbstractAntPerformable.java:87)[coreserver.jar :?] [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)〜[?:1.8 .0_162] [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162] [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[? :1.8.0_162] [java] at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162] [java] at bsh.Reflect.invokeMethod(Reflect.java:134)[ bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.Reflect.invokeObjectMethod(Reflect.java:80)[bsh-2.0b5.jar:2.0b5 2005-06- 12 04:50:41] [java] at bsh.Name.invokeMethod(Name.java:858)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)[ bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)[bsh-2.0b5.jar:2.0b5 2005-06- 12 04:50:41] [java] at bsh.Interpreter.eval(Interpreter.java:645)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh。 Interpreter.eval(Interpreter.java:739)[bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at bsh.Interpreter.eval(Interpreter.java:728)[bsh- 2.0b5.jar:2.0b5 2005-06-12 04:50:41] [java] at de.hybris.platform.util.ClientExecuter.execute(ClientExecuter.java:43)[coreserver.jar :?] [java] 在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)〜[?:1.8.0_162] [java]在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)〜[?:1.8.0_162] [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)〜[?:1。 8.0_162] [java] at java.lang.reflect.Method.invoke(Method.java:498)〜[?:1.8.0_162] [java] at de.hybris.bootstrap.loader.Loader.execute(Loader.java :142)[ybootstrap.jar :?] [java]位于de.hybris.bootstrap.loader.Loader.main(Loader.java:118)[ybootstrap.jar :?]

一周热门 更多>