Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for upgrading spring version to 6.x #465

Open
guoliang-gst opened this issue Sep 2, 2024 · 0 comments
Open

Request for upgrading spring version to 6.x #465

guoliang-gst opened this issue Sep 2, 2024 · 0 comments

Comments

@guoliang-gst
Copy link

Hi, I am using spring framework 6.x with the bullhorn SDK latest (Aug 07, 2024) version 2.3.12:

<dependency>
    <groupId>com.bullhorn</groupId>
    <artifactId>sdk-rest</artifactId>
    <version>2.3.12</version>
</dependency>

And I got the following error:

Caused by: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.ResponseEntity.getStatusCode()'
	at com.bullhornsdk.data.api.helper.RestApiSession.getAuthorizationCode(RestApiSession.java:172)
	at com.bullhornsdk.data.api.helper.RestApiSession.getAuthorizationCode(RestApiSession.java:162)
	at com.bullhornsdk.data.api.helper.RestApiSession.createSession(RestApiSession.java:127)
	at com.bullhornsdk.data.api.helper.RestApiSession.<init>(RestApiSession.java:83)
	at com.bullhornsdk.data.api.StandardBullhornData.<init>(StandardBullhornData.java:181)
	at workcore.base.plugins.bullhorn.BullhornDataUtil.setInstance(BullhornDataUtil.java:87)
	at workcore.base.plugins.bullhorn.BullhornDataUtil.getInstance(BullhornDataUtil.java:39)
	at workcore.system.controller.chatgpt.OpenAiController.loginInfo(OpenAiController.java:41)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:255)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:188)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
	... 133 common frames omitted

The bullhorn SDK version 2.3.12 depends on spring-web 5.3.25:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-web</artifactId>
    <version>5.3.25</version>
</dependency>

And spring-web 5.3.25 is outdated, the latest is 6.1.12:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-web</artifactId>
    <version>6.1.12</version>
</dependency>

So I request an upgrade bullhorn SDK version to depend on the latest spring version to 6.x to fix this issue.

Thanks!
Created at: Sep 02, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant