Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2433

Error when building the base kie template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.33.0.Final
    • None
    • None
    • Hide

      1. Make sure "org.kie:kie-maven-plugin:7.x" is not present in your local maven repository;
      2. Run business central;
      -> An error is thrown during BC startup.

      Show
      1. Make sure " org.kie:kie-maven-plugin:7.x " is not present in your local maven repository; 2. Run business central; -> An error is thrown during BC startup.
    • NEW
    • NEW

      The following error is thrown if the kie-maven-plugin is not present in the user's local maven repository during BC startup.

      11:32:25,078 INFO  [stdout] (MSC service thread 1-2) [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      11:32:25,078 INFO  [stdout] (MSC service thread 1-2) [ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.33.0.Final or one of its dependencies could not be resolved: Failure to find org.kie:kie-maven-plugin:jar:7.33.0.Final in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ 
      11:32:25,078 INFO  [stdout] (MSC service thread 1-2) [ERROR] Unknown packaging: kjar @ line 6, column 14
      11:32:25,078 INFO  [stdout] (MSC service thread 1-2)  @ 
      11:32:25,079 ERROR [org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl] (MSC service thread 1-2) Failed to add internal template org.kie.templates:base-kie-project:1.0.0-TEMPLATE: org.kie.workbench.common.screens.archetype.mgmt.shared.exceptions.MavenExecutionException: Some problems were encountered while processing the POMs:
      [ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.33.0.Final or one of its dependencies could not be resolved: Failure to find org.kie:kie-maven-plugin:jar:7.33.0.Final in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ 
      [ERROR] Unknown packaging: kjar @ line 6, column 14
      
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.throwMavenExecutionException(ArchetypeServiceImpl.java:774)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.executeMaven(ArchetypeServiceImpl.java:782)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.makeArchetypeAvailable(ArchetypeServiceImpl.java:669)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.finishAddArchetype(ArchetypeServiceImpl.java:546)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.addInternalTemplate(ArchetypeServiceImpl.java:452)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.lambda$checkKieTemplates$2(ArchetypeServiceImpl.java:404)
      	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.checkKieTemplates(ArchetypeServiceImpl.java:399)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl.postConstruct(ArchetypeServiceImpl.java:168)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:83)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:66)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:122)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:172)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.contexts.AbstractContext.get(AbstractContext.java:96)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:100)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:140)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:102)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:131)
      	at deployment.business-central.war//org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl$Proxy$_$$_WeldClientProxy.toString(Unknown Source)
      	at deployment.business-central.war//org.uberfire.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:194)
      	at deployment.business-central.war//org.uberfire.backend.server.cdi.SystemConfigProducer.afterDeploymentValidation(SystemConfigProducer.java:179)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
      	at javax.enterprise.api//javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.util.Observers.notify(Observers.java:166)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:499)
      	at org.jboss.weld.core@3.0.5.Final//org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:93)
      	at org.jboss.as.weld@14.0.1.Final//org.jboss.as.weld.WeldStartService.start(WeldStartService.java:98)
      	at org.jboss.msc@1.4.3.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
      	at org.jboss.msc@1.4.3.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
      	at org.jboss.msc@1.4.3.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
      	at org.jboss.threads@2.3.2.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      	at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

              gcaponet Guilherme Caponetto
              gcaponet Guilherme Caponetto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: