Java 户外日光跟踪失败
从我的项目的时间顺序来看: 我用mvn原型生成了一个alfresco maven存储库:generate-Dfilter=org.alfresco:(alfresco平台JAR原型)然后,我在repo-test/src/main/resources/alfresco/module/repo-test/model/scModel.XML中添加了一个自定义内容模型XML文件,其中包含注册新模型后可以找到的内容,方法是在Java 户外日光跟踪失败,java,maven,solr,alfresco,alfresco-maven,Java,Maven,Solr,Alfresco,Alfresco Maven,从我的项目的时间顺序来看: 我用mvn原型生成了一个alfresco maven存储库:generate-Dfilter=org.alfresco:(alfresco平台JAR原型)然后,我在repo-test/src/main/resources/alfresco/module/repo-test/model/scModel.XML中添加了一个自定义内容模型XML文件,其中包含注册新模型后可以找到的内容,方法是在repo-test/src/main/resources/alfresco/mod
repo-test/src/main/resources/alfresco/module/repo-test/context/bootstrap-context.XML中添加这些行:
<!-- Registration of new models -->
<bean id="${project.artifactId}_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/module/${project.artifactId}/model/scModel.xml</value>
</list>
</property>
</bean>
有人知道如何解决这个问题吗?
我还尝试在不修改任何内容的情况下启动它(我创建了另一个项目),但在编译了一晚后出现了一个错误:
INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:03 min
[INFO] Finished at: 2017-05-02T19:39:08+02:00
[INFO] Final Memory: 223M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3.0.0:it (start-alfresco) on project content-tutorial-repo: Unable to execute mojo: N'a pas pu démarrer Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
java.lang.NoClassDefFoundError: de /schlichtherle/truezip/fs/FsLockController$1Sync
注:我使用的是Raspbian 32位…我必须更新我的依赖项以解决此问题,如果您遇到类似问题,请尝试在中使用命令。我必须更新我的依赖项以解决此问题,如果您遇到类似问题,请尝试在中使用命令确保您已下载所有maven依赖项。因为当您第一次启动它时,maven需要时间下载依赖项。@KintuBarot ok是的,这就是问题所在,多亏了在中找到的命令,我可以解决我的问题!非常感谢。确保已下载所有maven依赖项。因为当您第一次启动它时,maven需要时间下载依赖项。@KintuBarot ok是的,这就是问题所在,多亏了在中找到的命令,我可以解决我的问题!非常感谢。
INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:03 min
[INFO] Finished at: 2017-05-02T19:39:08+02:00
[INFO] Final Memory: 223M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3.0.0:it (start-alfresco) on project content-tutorial-repo: Unable to execute mojo: N'a pas pu démarrer Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
java.lang.NoClassDefFoundError: de /schlichtherle/truezip/fs/FsLockController$1Sync