[#4071] - Custom data source error java.lang.NoClassDefFoundError: org/springframework/security/context/SecurityContextHolder

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

A custom data source will not work correctly in jasperreports server v. 6.0.1 when being used in a report, the error

java.lang.NoClassDefFoundError: org/springframework/security/context/SecurityContextHolder

shows always, although the ant task will show BUILD SUCCESFULL and the type of datasource can be correctly selected and the datasource created. It appears that in Spring Security 3.2.5 SecurityContextHolder is in org.springframework.security.core.context.

The same custom data source works correctly in jasperreport server v. 5.6.1

rdp_mx's picture
15
Joined: Jun 17 2014 - 6:03am
Last seen: 7 years 9 months ago
Feedback