Drools Workbench不可读POM

时间:2019-05-27 07:37:59

标签: maven docker drools

我正在尝试使用drools工作台创建规则,已执行以下命令来拉取docker映像并运行容器:

    docker pull jboss/drools-workbench-showcase
    docker run -p 8080:8080 -p 8001:8001 -d --name drools-workbench jboss/drools-workbench-showcase:latest

drools工作台按预期方式启动并运行,但是,当我尝试添加项目时,出现了不可读的POM错误: add project error

drools工作台错误日志:

2019-05-27 01:38:03,688 ERROR [org.appformer.maven.integration.MavenRepository] (EJB default - 1) Error while trying to
erase directory from local maven repository /opt/jboss/.m2/repository/org/kie/kie-api/7.18.0.Final
2019-05-27 01:38:03,689 ERROR [org.appformer.maven.integration.MavenRepository] (default task-8) Error while trying to e
rase directory from local maven repository /opt/jboss/.m2/repository/org/kie/kie-api/7.18.0.Final
2019-05-27 01:38:03,694 ERROR [org.appformer.maven.integration.embedder.MavenProjectLoader] (Thread-241) Unable to creat
e MavenProject from InputStream: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while buil
ding the effective model
[FATAL] Non-readable POM : input contained no data @
 for project
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:168)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126)
        at org.appformer.maven.integration.embedder.MavenEmbedder.readProject(MavenEmbedder.java:308)
        at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:91)
        at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:84)
        at org.appformer.maven.integration.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:34)
        at org.appformer.maven.support.PomModel$Parser.parse(PomModel.java:110)
        at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildPomModel(KieBuilderImpl.java:534)
        at org.drools.compiler.kie.builder.impl.KieBuilderImpl.getPomModel(KieBuilderImpl.java:511)
        at org.drools.compiler.kie.builder.impl.KieBuilderImpl.init(KieBuilderImpl.java:152)
        at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:211)
        at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:203)
        at org.kie.workbench.common.services.backend.builder.core.Builder.build(Builder.java:213)
        at org.kie.workbench.common.services.backend.builder.core.BuildHelper.build(BuildHelper.java:92)

我的操作系统是Windows 10,Drools Workbench版本是7.18.Final,我错过了任何配置吗?我查看了官方指南并搜索了网络,但尚未找到解决方案。

0 个答案:

没有答案