First, look at the settings for the "Birt_resource_path" property in the project's Web. xml file, which sets the "User resource storage path, which includes the library file, image file, and so on." The default is the current root directory. "For example, if my setting is"/library ", it means that all library files are under the log directory under the wood.
Look at the XML source code for the error report file, and discover that the library path introduced is "Library/ds.rptlibrary", which is added automatically when the library file is dragged and dropped to the report file, and the results are visible at preview and run time after the report is completed, but the error is performed under Tomcat. That is, the title prompt error.
Workaround:
A. Delete the Ds.rptlibrary reference to the report file;
B. Click on the menu bar "window" → "preferences" above Eclipse, find "report Design" → "Resources" on the left, click "Select" to locate the library directory under the current project, and then make sure to exit.
C. Re-introduce ds.rptlibrary into the report file.
D. Previewing, running reports are normal, and executing under Tomcat is normal.
Personal Understanding the resource properties set in the preferences are relative to the project's library configuration, and when the library is dragged and dropped into the report file, Birt reads this configuration and adds a relative path (the default is the current project path, so when this configuration is empty, library/is added ds.rptlibrary), the preview report is now normal. When Tomcat is started, the configuration in Web. XML will define this configuration as a library directory and then find it based on the default configuration Library/ds.rptlibrary, at which point the path to the lookup library is relative to the project "/library/library/ Ds.rptlibrary "file, of course, the library file is not found. The modification ensures that the path found in the preview and running the report under Tomcat is the Library directory under the project, thus guaranteeing the normal parsing of the report.
Org.eclipse.birt.report.data.oda.jdbc.JDBCException:Missing properties in Connection.Open (Propertie