[#12026] - NoClassDefFoundError when trying to deploy to server after upgrading to Jaspersoft Studio 6.9.0

Category:
Bug report
Priority:
None
Status:
Confirmed
Project: Severity:
Trivial
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
1

User upgraded Jaspersoft Studio to version 6.9.0. After upgrade, when they try to deploy a report to the server, they get this exception:

java.lang.NoClassDefFoundError: com/jaspersoft/studio/server/protocol/restv2/ClientQueryMapperProvider
at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.connect(RestV2ConnectionJersey.java:174)
at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:102)
at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:92)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:94)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:89)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:68)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

I also upgraded to Jaspersoft Studio 6.9.0 and I do not get this error.

User cannot deploy reports to server until this issue is resolved.

Jaspersoft® Studio
valeskyt's picture
Joined: Jul 25 2018 - 9:11am
Last seen: 9 months 3 weeks ago

11 Comments:

#1
  • Reproducibility:Random» Always

I am having the same issue just trying to create and test a new connection. When I open my older copy of Jaspersoft Studio it connects via REST just fine.

#2

I am also seeing the same behaviour. I have made a new installation of JasperReports Server and Jaspersoft Studio 6.9.0. When I try to connect to JasperReports Server from Jaspersoft Studio I am seeing the same error message.

#3

I am also having this problem.The version is 6.9.0.

#4

I have same issue and same error.

#5

I have same issue and same error.

#6

Same issue for me as well

#7

i had to downgrade to 6.6 and it worked.

#8
  • Resolution:Open» Fixed
  • Status:New» Resolved

Hi,
the problem is that the Hibernate plug-in is "broken" and it is indirectly causing some issues in the classloading operations.
We fixed the problem in the master branch. A new release is coming soon. In the meanwhile you could try to "remove" the com.jaspersoft.studio.hibernate plugin from the plugins folder. It's a workaround but it should work.

Regards,
Massimo.

#9
  • Priority:Immediate» None
  • Severity:Block» Trivial
  • Resolution:Fixed» Open
  • Status:Resolved» Confirmed

Hi,

exactly.. worked after move the plugin to outside of plugins folder.
But the link of download don't have that correction.

Please add the correction in master branch.

The problematic plugin: com.jaspersoft.studio.hibernate_5.4.1.final.jar

Thanks!

#10

I have the same error on JasperSoft Studio 6.10. Any news about a fix for this?

#11

Confirmed, the same error on JasperSoft Studio 6.10.

Feedback