import marc error: package org.ini4j does not exist

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

import marc error: package org.ini4j does not exist

Sean Filipov
Vufind-tech list,

I installed vufind version 3.1.2 on FreeBSD(10.1-RELEASE-p45) system and Solr version 5.5.0.
I’m trying to run a basic marc import script in Vufind but I get the following error.

FATAL [main] (Boot.java:103) - java.lang.RuntimeException: 
/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:29: error: package org.ini4j does not exist
import org.ini4j.Ini;
                ^
/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:39: error: cannot find symbol
    private static ConcurrentHashMap<String, Ini> configCache = new ConcurrentHashMap<String, Ini>();
                                             ^
  symbol:   class Ini
  location: class org.vufind.index.ConfigManager
/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:131: error: cannot find symbol
    public Ini loadConfigFile(String filename)
           ^
  symbol:   class Ini
  location: class org.vufind.index.ConfigManager
/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:39: error: cannot find symbol
    private static ConcurrentHashMap<String, Ini> configCache = new ConcurrentHashMap<String, Ini>();
                                                                                              ^
  symbol:   class Ini
  location: class org.vufind.index.ConfigManager
/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:135: error: cannot find symbol
            Ini ini = new Ini();
            ^


java -version
openjdk version "1.7.0_111"
OpenJDK Runtime Environment (build 1.7.0_111-b01)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

Does anyone know how to fix that? 

Strangely the same vufind installation works on our RedHat machines.

Thank you


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: import marc error: package org.ini4j does not exist

Demian Katz

Are your environment variables set up correctly? Does an ini4j jar file exist in either $VUFIND_HOME/import/lib or $VUFIND_HOME/import/lib_local? What version of Java is installed on the server?

 

- Demian

 

From: Sean Filipov [mailto:[hidden email]]
Sent: Wednesday, July 19, 2017 4:11 PM
To: [hidden email]; [hidden email]
Subject: [VuFind-Tech] import marc error: package org.ini4j does not exist

 

Vufind-tech list,

 

I installed vufind version 3.1.2 on FreeBSD(10.1-RELEASE-p45) system and Solr version 5.5.0.

I’m trying to run a basic marc import script in Vufind but I get the following error.

 

FATAL [main] (Boot.java:103) - java.lang.RuntimeException: 

/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:29: error: package org.ini4j does not exist

import org.ini4j.Ini;

                ^

/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:39: error: cannot find symbol

    private static ConcurrentHashMap<String, Ini> configCache = new ConcurrentHashMap<String, Ini>();

                                             ^

  symbol:   class Ini

  location: class org.vufind.index.ConfigManager

/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:131: error: cannot find symbol

    public Ini loadConfigFile(String filename)

           ^

  symbol:   class Ini

  location: class org.vufind.index.ConfigManager

/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:39: error: cannot find symbol

    private static ConcurrentHashMap<String, Ini> configCache = new ConcurrentHashMap<String, Ini>();

                                                                                              ^

  symbol:   class Ini

  location: class org.vufind.index.ConfigManager

/data/lava/vufind2/import/index_java/src/org/vufind/index/ConfigManager.java:135: error: cannot find symbol

            Ini ini = new Ini();

            ^



 

java -version

openjdk version "1.7.0_111"

OpenJDK Runtime Environment (build 1.7.0_111-b01)

OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

 

Does anyone know how to fix that? 

 

Strangely the same vufind installation works on our RedHat machines.

 

Thank you

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Loading...