0

I am trying to integrate BIRT reports into my existing spring boot application with the help of BIRT in spring boot app but I am using maven. when I add the dependency to BIRT 4.6.0-20160607 it was giving

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes"

and when I change dependency to 4.5.0a it was giving

Error creating bean with name 'mongo' defined in class path resource [org/springframework/boot/autoconfigure/mongo/MongoAutoConfiguration.class]

kindly help me.

Community
  • 1
  • 1
Arya
  • 85
  • 3
  • 12

1 Answers1

1

Use @EnableAutoConfiguration(exclude = {MongoAutoConfiguration.class}) in BirtReportRunnerApphlication...

Max Zonov
  • 11
  • 2
  • It is giving compile time error: "cannot find symbol MongoAutoConfiguration.class" – Arya Jan 24 '17 at 08:07
  • Thanks @Max Zonov : I've been struggling to have my Spring Boot Standalone application work with BIRT report engine and Postgres. I kept getting errors like "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongo' defined in class path" . Even though my app is configured to work with Postgres. Your tip solved my problems! Thank you very much. – kiwifrog Dec 12 '18 at 15:12