• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Not able to take export backup of Jasper reports

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am trying to take export backup of Jasper reports with the command below. While doing it I get "NoSuchBeanDefinitionException". I have already defined all required classpaths. But somehow I could not find 'exportCommandMetadata' in any of the jars available with me. Hence seems to be the classpath issue. Anyone has any hint to resolve this? Any help is highly appreciated.

C:\>js-export --everything --output-zip c:\Backup.zip
log4j:WARN No appenders could be found for logger (com.jaspersoft.jasperserver.export.BaseExportImportCommand).
log4j:WARN Please initialize the log4j system properly.
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'exportCommandMetadata' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:340)
at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:906)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:165)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:646)
at com.jaspersoft.jasperserver.export.BaseExportImportCommand.getCommandMetadataBean(BaseExportImportCommand.java:162)
at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:79)
at com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43)

Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic