У меня есть forked moqui, mantle & PopCommerce on github & Последовательность шагов команды для клонирования & постройте, как показано ниже.Проблема при создании moqui из источника
git clone [email protected]:moqui/moqui.git moqui
cd moqui/runtime/
git clone [email protected]:moqui/mantle.git mantle
cd component/
git clone [email protected]:moqui/PopCommerce.git PopCommerce
cd ../.. (to the moqui directory)
gradle load
gradle run
Я заменил свое имя репозитория в приведенных выше командах.
Доступ к фреймворку/инструментам с использованием http://localhost:8080 отображает страницу входа (без применения css) и при нажатии кнопки «Войти» (John Doe) отображается ошибка ниже.
Status Code: 403
Exception: User [john.doe] is not authorized for View on Screen [component://webroot/screen/webroot/apps/AppList.xml]
Stacktrace:
и доступа к PopCommerce (http://localhost:8080/popc) отображает ниже ошибки.
Status Code: 404
Exception: Could not find subscreen or transition or file/content [popc] under screen [component://webroot/screen/webroot.xml] while finding url for path [popc] under from screen [component://webroot/screen/webroot.xml]
Stacktrace:
Я попытался запустить рамочные/инструменты & Popcommerce используя двоичный код и он работал отлично.
Есть ли какие-либо другие шаги, которые необходимо выполнить во время сборки из источника?
Update: Ошибка при загрузке Gradle
75816 [ main] INFO pl.entity.EntityDataLoaderImpl - Loaded 29 records from [file:/C:/projects/moqui_ws/moqui/runtime/base-component/example/data/ExampleZzzDemoData.xml] in 6.432 seconds
75940 [ main] INFO pl.entity.EntityDataLoaderImpl - Loading entity data from [file:/C:/projects/moqui_ws/moqui/runtime/base-component/example/data/ZzaExampleRecords.csv]
75992 [ main] WARN .context.TransactionFacadeImpl - Transaction rollback. The rollback was originally caused by: Error loading entity data
org.moqui.entity.EntityException: The name [exampleEmail] is not a valid field name for entity [Example]
at org.moqui.impl.entity.EntityDefinition.convertFieldString(EntityDefinition.groovy:1048)
at org.moqui.impl.entity.EntityValueBase.setString(EntityValueBase.groovy:274)
at org.moqui.impl.entity.EntityDataLoaderImpl$EntityCsvHandler.loadFile(EntityDataLoaderImpl.groovy:698)
at org.moqui.impl.entity.EntityDataLoaderImpl.loadSingleFile(EntityDataLoaderImpl.groovy:283)
at org.moqui.impl.entity.EntityDataLoaderImpl.internalRun(EntityDataLoaderImpl.groovy:249)
at org.moqui.impl.entity.EntityDataLoaderImpl.load(EntityDataLoaderImpl.groovy:125)
at org.moqui.Moqui.loadData(Moqui.java:97)
at MoquiStart.main(MoquiStart.java:105)
75997 [ main] WARN .context.TransactionFacadeImpl - Transaction rollback for [Error loading entity data]. Here is the current location:
org.moqui.BaseException: Rollback location
at org.moqui.impl.context.TransactionFacadeImpl.rollback(TransactionFacadeImpl.groovy:405)
at org.moqui.impl.context.TransactionFacadeImpl.rollback(TransactionFacadeImpl.groovy:389)
at org.moqui.impl.entity.EntityDataLoaderImpl.loadSingleFile(EntityDataLoaderImpl.groovy:298)
at org.moqui.impl.entity.EntityDataLoaderImpl.internalRun(EntityDataLoaderImpl.groovy:249)
at org.moqui.impl.entity.EntityDataLoaderImpl.load(EntityDataLoaderImpl.groovy:125)
at org.moqui.Moqui.loadData(Moqui.java:97)
at MoquiStart.main(MoquiStart.java:105)
76372 [ main] INFO moqui.impl.entity.EntityDbMeta - Created table [ARTIFACT_HIT_BIN] for entity [moqui.server.ArtifactHitBin]
Ошибки, связанные с примером компонента в файле moqui.log и error.log, пустые. Я обновил вопрос с помощью stacktrace. –
Насколько я понимаю, это ошибка, которая происходит только в Windows и может быть связана с другими ошибками в Windows, которые вы подавали в качестве проблем GitHub. Это лучшее место для этого (т. Е. На самом деле это не вопрос, для которого лучше всего подходит StackOverflow). –