Re: Running into issue using SparkIMain

2016-06-29 Thread Jayant Shekhar
Hello, Found a workaround to it. Installed scala and added the scala jars to the classpath before starting the web application. Now it works smoothly - just that it adds an extra step for the users to do. Would next look into making it work with the scala jar files contained in the war. Thx On

Re: Running into issue using SparkIMain

2016-06-27 Thread Jayant Shekhar
I tried setting the classpath explicitly in the settings. Classpath gets printed properly, it has the scala jars in it like scala-compiler-2.10.4.jar, scala-library-2.10.4.jar. It did not help. Still runs great with IntelliJ, but runs into issues when running from the command line. val cl = t

Running into issue using SparkIMain

2016-06-27 Thread Jayant Shekhar
Hello, I'm trying to run scala code in a Web Application. It runs great when I am running it in IntelliJ Run into error when I run it from the command line. Command used to run -- java -Dscala.usejavacp=true -jar target/XYZ.war --spring.config.name=application,db,l