8.3 Messages from KDJJ20000 to KDJJ29999
This section describes the messages from KDJJ20000 to KDJJ29999 and the corresponding actions.
-
KDJJ20003-W
The following warnings have been detected with resource and/or provider classes:aa....aa
aa....aa: List of sub-messages
- Description
-
A warning was detected during the initialization of the resource class and/ or provider.
- Action
-
Take action for each displayed sub-message. For details on the examples of sub-messages, see 8.5 Sub-messages. If a sub-message not listed in 8.5 Sub-messages is displayed, determine the cause of the error based on the contents of the message and then resolve the error.
-
KDJJ20007-W
A servlet POST request, to the URI aa....aa, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
aa....aa: URI
- Description
-
The entity body of the received HTTP request contains information injected into a parameter annotated with the FormParam annotation. However, the entity body of the HTTP request might already be accessed from a servlet or servlet filter other than the Cosminexus JAX-RS functionality.
- Action
-
The entity body of the HTTP request must not be accessed in a servlet or servlet filter other than the Cosminexus JAX-RS functionality. If the entity body of the HTTP request must be accessed, do not reference the entity body using the entity parameter in the Web resource.
-
KDJJ20010-W
There are more than one constructor with same number of parameters. Hence the first constructor that has same number of parameters will be used to instantiate the Root Resource Class aa....aa
aa....aa: Root resource class name
- Description
-
There are multiple constructors with the same number of parameters in the root resource class. The root resource class is instantiated by using the constructor defined first.
- Action
-
Do not define constructors with the same number of parameters.
-
KDJJ20011-W
There are more than one constructor with same number of parameters. Hence the first constructor that has same number of parameters will be used to instantiate the Provider Class aa....aa
aa....aa: Custom Provider class name
- Description
-
There are multiple constructor classes with the same number of parameters in the provider class. The provider class is initiated by using the constructor class defined first.
- Action
-
Do not define constructors with the same number of parameters.
-
KDJJ20012-W
There are multiple entity parameters for bb....bb#aa....aa() method. Hence the first entity parameter is considered and rest of them are ignored
aa....aa: Method name
bb....bb: Resource class name
- Description
-
A resource method or sub-resource method with multiple entity parameters was found. The entity body is injected into the entity parameter defined first, and the rest of the entity parameters are ignored.
- Action
-
Do not define multiple entity parameters in a resource method or sub-resource method.
-
KDJJ20013-W
The Root and Client AP cannot be added to client request headers. Cause: aa....aa
aa....aa: Cause
- Description
-
The Root and Client application information cannot be added to the HTTP header of the HTTP request.
- Action
-
Remove the cause of the warning on the basis of the cause.
-
KDJJ29999-W
General Warning: (details= aa....aa)
aa....aa: Details
- Description
-
This is a warning message. See the details.
- Action
-
Remove the cause of the warning based on the details.