Hello All! I try to install Dspace 1.6.2 on Ubuntu 10.04. Tomcat, Postgresql-8.4, Ant-optional, libpg-java, maven2, sun-java6-jdk I set from Ubuntu repository.After that I did from the instructions https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.5+on+Ubuntu+8.04. mvn package was successful, but after ant fresh_install beat error:
[java] 2010-06-26 17:13:46,009 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2010-06-26 17:13:46,016 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2010-06-26 17:13:46,638 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2010-06-26 17:13:46,644 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] Exception in thread "main" java.lang.ExceptionInInitializerError [java] Caused by: java.lang.NullPointerException [java] at java.io.File.<init>(File.java:222) [java] at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:484) [java] at org.dspace.search.DSIndexer.<clinit>(DSIndexer.java:235) [java] Could not find the main class: org.dspace.search.DSIndexer. Program will exit. BUILD FAILED /opt/dspace/dspace-src/dspace/target/dspace-1.6.2-build.dir/build.xml:745: Java returned: 1 I also tried to install and Dspace 1.5.0 on Ubuntu 8.04, 9.04, 9.10. And everywhere the same error. Can anyone help? -- View this message in context: http://old.nabble.com/-Dspace-tech--Could-not-find-the-main-class%3A-org.dspace.search.DSIndexer-tp29043420p29043420.html Sent from the DSpace - Tech mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech