Jump to content

cn73

Members
  • Posts

    66
  • Joined

  • Last visited

cn73's Achievements

Enthusiast

Enthusiast (6/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. you can edit your ${user.home}/.m2/settings.xml file and 1)Disable jaspersoft repository creating a profile like this: <profiles> <profile> <id>default</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>jaspersoft</id> <name>Jasper Soft</name> <url>http://jasperforge.org/maven2/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> </profile> </profiles> 2)use a mirror instead...see http://maven.apache.org/guides/mini/guide-mirror-settings.html Post Edited by cn73 at 03/11/2010 08:36
  2. jchesko Wrote: We're having the same exact problem starting yesterday. I'm using the 3.1.0 artifact of jasperreports Disable jaspersoft repository from your settings.xml locatedi in .m2 directory...
  3. Thxs... i cannot use another version of jasperreports, becauseI should test again the entire application... My workaround works fine... But I'd like to understand what happened...
  4. Yes i'm sure... for every repository, maven create a file named: maven-metadata-idrepository.xml, eg: maven-metadata-jaspersoft.xml, maven-metadata-maven2.dev.java.net....in in .m2/repository/commons-collections/commons-collections/ the maven-metadata-jaspersoft.xm that is created is in my attachment! This cause build fails... So my workaround is put in settings.xml the mirror: <mirrors> <mirror> <id>my-repository</id> <url>http://myrep_url/</url> <mirrorOf>jaspersoft</mirrorOf> </mirror> </mirrors>
  5. Since this morning I have a very serious problem, from pom file http://repo2.maven.org/maven2/jasperreports/jasperreports/3.0.0/jasperreports-3.0.0.pom I read that you put your repository: <repositories> − <repository> <id>jaspersoft</id> <url>http://www.jasperforge.org/maven2</url> </repository> </repositories> when I compile my project, it creates a file maven-metadata-jaspersoft.xml directory under the commons-collections ... it should includes this file: <? Xml version = "1.0" encoding = "UTF-8"?> <metadata> <groupId> commons-collections </ groupId> <artifactId> commons-collections </ artifactId> </ Metadata> instead contains a standard error page (see attachment)... I believe in your repository, there are no more 'common-collections and other dependencies? please, it blocks the build!
  6. LRUScanMap extends org/apache/commons/collections/LRUMap, included in Common Collections... maybe do I miss it?
  7. I'm using japserreports 3.6.0 and in my java code i use a GZIpVistualizer... I get an exception: javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3902) ..... Caused by: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/fill/JRAbstractLRUVirtualizer$Cache$LRUScanMap at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer$Cache.<init>(JRAbstractLRUVirtualizer.java:145) at net.sf.jasperreports.engine.fill.JRAbstractLRUVirtualizer.<init>(JRAbstractLRUVirtualizer.java:337) at net.sf.jasperreports.engine.fill.JRGzipVirtualizer.<init>(JRGzipVirtualizer.java:57) I get the sources JRAbstractLRUVirtualizer.java and the inner class is there! Help me please! I On the server there is the lib 3.6.0 too.
  8. In my company, we can use only official maven repository... i put some preassure in Codehause JIRA now :D
  9. use search features! http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=66098
  10. 50 mb is a lot of memory... the out of memory occours during fill or export? the report has any subreport with input stream as source? try to use FIle Virtualizer... it put in a file and not in memory the temporary pages... Post Edited by cn73 at 18/12/2009 13:49
  11. And now jasper 3.7.0 is out! But what is the dependency that causes the problem? jfreechart 1.0.12? JasperReports is a great tool, it is impossible not to be used with Maven. have ypu contacted the authors of JFreeChart? anyway I install all the dependencies on my company repository, at this time seems the only solution.
  12. or if you want direct link: http://sourceforge.net/projects/ireport/files/iReport%20%28classic%29/iReport-3.0.0/iReport-3.0.0-windows-installer.exe/download
  13. http://sourceforge.net/projects/ireport/files/ see at ireport classic section...
  14. attention! if varA == null and you attempt varA.length... you have a NullPointerException! you mean: if (varA != null && varA.length() == 0) ?? When Java evaluates the expression d = b && c;, it first checks whether b is true. Here b is false, so b && c must be false regardless of whether c is or is not true, so Java doesn't bother checking the value of c.
×
×
  • Create New...