Announcement Announcement Module
Collapse
No announcement yet.
jasper report cannot compile in dm-server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jasper report cannot compile in dm-server

    I am migrating an existing web application to run on the dm-server. My jasperreports won't compile:
    Code:
    exception: 	
    
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pdfFrames': Initialization of bean failed; nested exception is org.springframework.context.ApplicationContextException: Could not parse JasperReports report from ServletContext resource [/WEB-INF/views/reports/Frames.jrxml]; nested exception is net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
    /home/goran/apps/springsource-dm-server-1.0.2.RELEASE/Frames_1244688904753_444336.java:4: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    /home/goran/apps/springsource-dm-server-1.0.2.RELEASE/Frames_1244688904753_444336.java:5: package net.sf.jasperreports.engine.fill does not exist
    import net.sf.jasperreports.engine.fill.*;
    ^
    /home/goran/apps/springsource-dm-server-1.0.2.RELEASE/Frames_1244688904753_444336.java:13: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    /home/goran/apps/springsource-dm-server-1.0.2.RELEASE/Frames_1244688904753_444336.java:15: package net.sf.jasperreports.engine.data does not exist
    import net.sf.jasperreports.engine.data.*;
    I am importing the com.springsource.net.sf.jasperreports;version="[2.0.5,2.1.0)" in my web bundle.

    ss gives:

    Code:
    osgi> ss  
    
    Framework is launched.
    
    id	State       Bundle
    0	ACTIVE      org.eclipse.osgi_3.4.2.R34x_v20080826-1230
    1	ACTIVE      com.springsource.server.serviceability.tracing.aspects_1.0.2.RELEASE
    2	ACTIVE      com.springsource.org.aspectj.runtime_1.6.2.RELEASE
    3	ACTIVE      org.eclipse.equinox.cm_1.0.0.v20080509-1800
    4	ACTIVE      org.eclipse.osgi.services_3.1.200.v20071203
    5	ACTIVE      com.springsource.javax.servlet_2.5.0
    6	ACTIVE      org.springframework.osgi.extender_1.1.3.RELEASE
    	            Fragments=7
    7	RESOLVED    com.springsource.server.kernel.dm_1.0.2.RELEASE
    	            Master=6
    8	ACTIVE      org.springframework.beans_2.5.6.A
    9	ACTIVE      com.springsource.javax.el_1.0.0
    10	ACTIVE      com.springsource.net.sf.cglib_2.1.3
    11	ACTIVE      org.springframework.core_2.5.6.A
    12	ACTIVE      com.springsource.edu.emory.mathcs.backport_3.0.0
    13	ACTIVE      com.springsource.org.apache.commons.attributes_2.2.0
    14	ACTIVE      com.springsource.org.apache.commons.collections_3.2.1
    15	ACTIVE      com.springsource.org.apache.commons.collections_3.2.0
    16	ACTIVE      com.springsource.slf4j.org.apache.log4j_1.5.6
    17	ACTIVE      com.springsource.org.apache.log4j_1.2.15
    18	ACTIVE      com.springsource.javax.jms_1.1.0
    19	ACTIVE      com.springsource.javax.mail_1.4.0
    20	ACTIVE      com.springsource.slf4j.org.apache.log4j_1.5.0
    21	ACTIVE      com.springsource.org.aspectj.weaver_1.6.2.RELEASE
    22	ACTIVE      org.springframework.context_2.5.6.A
    23	ACTIVE      com.springsource.javax.ejb_3.0.0
    24	ACTIVE      com.springsource.javax.xml.rpc_1.1.0
    25	ACTIVE      com.springsource.javax.persistence_1.0.0
    26	ACTIVE      com.springsource.javax.persistence_1.99.0
    27	ACTIVE      com.springsource.org.aopalliance_1.0.0
    28	ACTIVE      org.springframework.aop_2.5.6.A
    29	ACTIVE      com.springsource.org.apache.commons.pool_1.3.0
    30	ACTIVE      com.springsource.org.apache.commons.pool_1.4.0
    31	ACTIVE      org.springframework.orm_2.5.6.A
    32	ACTIVE      com.springsource.org.eclipse.persistence_1.0.0
    	            Fragments=33
    33	RESOLVED    com.springsource.org.eclipse.persistence.jpa_1.0.0
    	            Master=32
    34	ACTIVE      com.springsource.org.eclipse.persistence.antlr_1.0.0
    35	ACTIVE      com.springsource.org.eclipse.persistence.asm_1.0.0
    36	RESOLVED    com.springsource.org.hibernate.annotations_3.3.1.ga
    	            Master=37
    37	ACTIVE      com.springsource.org.hibernate_3.2.6.ga
    	            Fragments=36, 39
    38	INSTALLED   com.springsource.org.hibernate.ejb_3.3.1.ga
    39	RESOLVED    com.springsource.org.hibernate.ejb_3.3.2.GA
    	            Master=37
    40	INSTALLED   com.springsource.org.hibernate.annotations_3.3.0.ga
    41	ACTIVE      com.springsource.antlr_2.7.6
    42	ACTIVE      com.springsource.antlr_2.7.7
    43	ACTIVE      com.springsource.javassist_3.3.0.ga
    44	ACTIVE      com.springsource.org.dom4j_1.6.1
    45	ACTIVE      com.springsource.org.objectweb.asm_1.5.3
    46	ACTIVE      com.springsource.org.objectweb.asm.attrs_1.5.3
    47	ACTIVE      com.springsource.javassist_3.9.0.GA
    48	ACTIVE      com.springsource.org.hibernate.annotations.common_3.3.0.ga
    49	INSTALLED   com.springsource.org.jboss.util_2.0.4.GA
    50	INSTALLED   com.springsource.org.hibernate_3.3.1.GA
    51	ACTIVE      org.springframework.transaction_2.5.6.A
    52	ACTIVE      org.springframework.jdbc_2.5.6.A
    53	ACTIVE      org.springframework.web_2.5.6.A
    54	ACTIVE      com.springsource.javax.servlet.jsp_2.1.0
    55	ACTIVE      com.springsource.org.apache.taglibs.standard_1.1.2
    56	ACTIVE      com.springsource.javax.servlet.jsp.jstl_1.1.2
    57	INSTALLED   com.springsource.org.apache.xalan_2.7.0
    58	ACTIVE      org.springframework.osgi.core_1.1.3.RELEASE
    59	ACTIVE      org.springframework.osgi.io_1.1.3.RELEASE
    60	ACTIVE      com.springsource.server.serviceability.ffdc_1.0.2.RELEASE
    61	RESOLVED    com.springsource.server.serviceability.ffdc.aspects_1.0.2.RELEASE
    62	ACTIVE      com.springsource.server.common.math_1.0.2.RELEASE
    63	ACTIVE      com.springsource.server.kernel.core_1.0.2.RELEASE
    64	ACTIVE      com.springsource.server.management.proxy_1.0.2.RELEASE
    65	ACTIVE      com.springsource.server.ffdc.core_1.0.2.RELEASE
    66	ACTIVE      com.springsource.json_1.0.1.RELEASE
    67	ACTIVE      com.springsource.org.antlr_3.0.1
    68	ACTIVE      com.springsource.server.config.core_1.0.2.RELEASE
    69	ACTIVE      com.springsource.server.concurrent.core_1.0.2.RELEASE
    70	ACTIVE      com.springsource.com.google.common.collect_0.5.0.alpha
    71	RESOLVED    com.springsource.server.common.env_1.0.2.RELEASE
    72	ACTIVE      com.springsource.server.io.core_1.0.2.RELEASE
    73	ACTIVE      com.springsource.server.control.core_1.0.2.RELEASE
    74	ACTIVE      com.springsource.org.apache.catalina_6.0.18
    	            Fragments=75, 76
    75	RESOLVED    com.springsource.org.apache.coyote_6.0.18
    	            Master=74
    76	RESOLVED    com.springsource.org.apache.jasper_6.0.18
    	            Master=74
    77	ACTIVE      com.springsource.javax.annotation_1.0.0
    78	ACTIVE      com.springsource.org.apache.juli.extras_6.0.18
    79	ACTIVE      com.springsource.org.apache.el_6.0.18
    80	ACTIVE      com.springsource.org.apache.jasper.org.eclipse.jdt_6.0.18
    81	ACTIVE      com.springsource.org.apache.jasper.org.eclipse.jdt_6.0.16
    82	ACTIVE      com.springsource.org.eclipse.jdt.core.compiler.batch_3.3.0
    83	ACTIVE      com.springsource.server.deployer.core_1.0.2.RELEASE
    84	ACTIVE      com.springsource.server.profile.core_1.0.2.RELEASE
    85	ACTIVE      com.springsource.server.deployer.hot_1.0.2.RELEASE
    86	ACTIVE      com.springsource.server.system.core_1.0.2.RELEASE
    87	ACTIVE      com.springsource.server.servlet.core_1.0.2.RELEASE
    88	ACTIVE      com.springsource.server.servlet.tomcat_1.0.2.RELEASE
    89	ACTIVE      com.springsource.org.apache.catalina.ha_6.0.18
    90	ACTIVE      com.springsource.org.apache.catalina.tribes_6.0.18
    91	ACTIVE      com.springsource.server.web.core_1.0.2.RELEASE
    92	ACTIVE      com.springsource.server.web.dm_1.0.2.RELEASE
    93	ACTIVE      org.springframework.web.servlet_2.5.6.A
    94	ACTIVE      com.springsource.com.lowagie.text_2.0.8
    95	ACTIVE      com.springsource.freemarker_2.3.12
    96	ACTIVE      com.springsource.org.jdom_1.0.0
    97	ACTIVE      com.springsource.net.sf.jasperreports_2.0.5
    98	ACTIVE      com.springsource.org.apache.commons.beanutils_1.7.0
    99	ACTIVE      com.springsource.org.apache.commons.digester_1.8.0
    100	INSTALLED   com.springsource.org.jfree.chart_1.0.9
    101	ACTIVE      com.springsource.org.apache.commons.fileupload_1.2.0
    102	ACTIVE      com.springsource.javax.portlet_1.0.0
    103	ACTIVE      com.springsource.org.apache.commons.io_1.4.0
    104	ACTIVE      com.springsource.org.apache.velocity_1.5.0
    105	ACTIVE      com.springsource.org.apache.commons.lang_2.4.0
    106	ACTIVE      com.springsource.org.apache.oro_2.0.8
    107	ACTIVE      com.springsource.org.apache.velocity.tools.view_1.4.0
    108	ACTIVE      org.springframework.context.support_2.5.6.A
    109	ACTIVE      com.springsource.server.servlet.admin_1.0.2.RELEASE
    110	ACTIVE      com.springsource.server.servlet.splash_1.0.2.RELEASE
    111	ACTIVE      custom.net.sf.sojo_1.0.0
    112	ACTIVE      custom.net.sourceforge.barbecue_1.0.0
    113	ACTIVE      com.springsource.javax.portlet_2.0.0
    119	ACTIVE      org.springframework.aspects_2.5.6.A
    120	ACTIVE      org.springframework.security_2.0.2.A
    121	ACTIVE      com.springsource.org.apache.commons.codec_1.3.0
    122	ACTIVE      org.springframework.jms_2.5.6.A
    123	ACTIVE      com.springsource.net.sf.json_0.9.0
    124	ACTIVE      com.springsource.net.sf.ezmorph_0.8.1
    125	ACTIVE      com.springsource.nu.xom_1.1.0
    126	ACTIVE      com.springsource.org.apache.commons.dbcp_1.2.2.osgi
    127	ACTIVE      com.springsource.com.mysql.jdbc_5.1.6
    128	ACTIVE      org.springframework.webflow_2.0.7.RELEASE
    129	ACTIVE      org.springframework.binding_2.0.7.RELEASE
    130	ACTIVE      com.springsource.org.jboss.el_2.0.0.GA
    131	ACTIVE      org.springframework.js_2.0.7.RELEASE
    132	ACTIVE      com.springsource.net.sf.json_2.2.2
    133	ACTIVE      com.springsource.net.sf.ezmorph_1.0.5
    139	ACTIVE      hakim-1-hakim-synthetic.context_1.0.0
    140	ACTIVE      hakim-1-hakim.app_1.0.0
    141	ACTIVE      hakim-1-hakim.dao_1.0.0
    142	ACTIVE      hakim-1-hakim.model_1.0.0
    143	ACTIVE      hakim-1-hakim.web_1.0.0
    Can any one please help me with this?
Working...
X