Home > Back-end >  Drools workbench kie server spiringboot address is not correct (404) ERORR)
Drools workbench kie server spiringboot address is not correct (404) ERORR)

Time:10-14

Error message is as follows:
 
15:36:02. 908. [the main] the DEBUG org. Kie. Server client. Impl. AbstractKieServicesClientImpl - Unexpected HTTP response code when requesting a URI "http://localhost:8180/kie-server/services/rest/server//containers/instances/entity"! The Error code: 404 message: RESTEASY003210: Could not find the resource for full path: http://localhost:8180/kie-server/services/rest/server//containers/instances/entity, the response body: RESTEASY003210: Could not find the resource for full path: http://localhost:8180/kie-server/services/rest/server//containers/instances/entity

Org. Kie. Server API. Exception. KieServicesHttpException: Unexpected HTTP response code when requesting URI "http://localhost:8180/kie-server/services/rest/server//containers/instances/entity"! The Error code: 404 message: RESTEASY003210: Could not find the resource for full path: http://localhost:8180/kie-server/services/rest/server//containers/instances/entity

The at org. Kie. Server. Client. Impl. AbstractKieServicesClientImpl. CreateExceptionForUnexpectedResponseCode (AbstractKieServicesClientImpl. Java: 617)
The at org. Kie. Server. Client. Impl. AbstractKieServicesClientImpl. MakeHttpPostRequestAndCreateServiceResponse (AbstractKieServicesClientImpl. Java: 290)
The at org. Kie. Server. Client. Impl. AbstractKieServicesClientImpl. MakeHttpPostRequestAndCreateServiceResponse (AbstractKieServicesClientImpl. Java: 264)
The at org. Kie. Server. Client. Impl. RuleServicesClientImpl. ExecuteCommandsWithResults (RuleServicesClientImpl. Java: 66)
The at KieServerTest. Test1 (KieServerTest. Java: 53)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Junit. Runners. Model. FrameworkMethod $1. RunReflectiveCall (FrameworkMethod. Java: 50)
The at org. Junit. Internal. Runners. Model. ReflectiveCallable. Run (ReflectiveCallable. Java: 12)




http://localhost:8180/kie-server/services/rest/server/
Under the information into the:

http://localhost:8180/kie-server/services/rest/server/containers
Information is as follows:

Spring the boot code below
Pom. XML file
 
<? The XML version="1.0" encoding="utf-8"?>
XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" & gt;
4.0.0 & lt;/modelVersion>

Org. Springframework. Boot
Spring - the boot - starters
2.0.6. RELEASE

Com. Itheima
Calculation
1.0 - SNAPSHOT


Org. Springframework. Boot
Spring - the boot - starter - web


Org. Springframework. Boot
Spring - the boot - starter - aop


Org. Springframework. Boot
Spring - the boot - starter - test
& lt;/dependency>

Commons - lang
Commons - lang
2.6 & lt;/version>


Org. Drools
Drools - core
7.31.0. Final


Org. Drools
Drools - compiler
7.31.0. Final


Org. Drools
Drools - templates
7.31.0. Final


Org. Kie
Kie - api
7.31.0. Final


Org. Kie
Kie - spring


Org. Springframework nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related