We are using the open source framework JasperReports to creating PDF reports.
One of my Team members wanted to create a MasterReport with a SubReport. The SubReport was nothing special, it included just static Text.The problem was, that the subreport was not rendered, it was always empty.
The problem was that the subreport need to have a data connection. Even you don’t need one. The solution is to include a empty DataSource like this:
Do you know this problem. You are copying a large file via scp to a server and than the connection is lost. Actually you can resume the scp prozess for the file. This is for copying a file from a server to your machine.
I got this error message today in a new SpringMVC project.
Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/spring3Mvc-servlet.xml]
... 32 more
To fix this you have to tell the DispatcherServlet where your spring configuration is. This here solved my problem.