score:1
i ran into this problem also (having to set the dependency manually from intellij).
i "fixed" it by setting the dependency as compileonly
as opposed to compile
, this scope does not include the jar in the final distribution.
the code i use is (please note that my dependency includes scala as a transitive dependency):
compileonly("io.gatling.highcharts:gatling-charts-highcharts:$gatlingversion")
Source: stackoverflow.com
Related Query
- IntelliJ "Cannot infer Scala class path..." but Gradle testCompile is correct?
- Android/Scala project in IntelliJ 14 compiles, but crashes when launched not finding Scala class
- Scala sbt jar allows import when class path is passed on command line, but not in REPL
- Intellij Idea Kotlin plugin cannot see scala case class accessors
- Scala Jar packaged by sbt assembly doesn't read relative path of file but same works in intelliJ
- Java IntelliJ error Cannot access for scala class
- Getting expected class or object definition when running from Command line in scala but working fine from intelliJ
- Cannot run scala in intellij but it works in commandline
- IntelliJ Scala Plugin's case class indentation is absurd
- Unable to create Scala class on IntelliJ
- Scala case class private constructor but public apply method
- Could not find or load main class in scala in intellij IDE
- Why "could not find implicit" error in Scala + Intellij + ScalaTest + Scalactic but not from sbt
- Why can’t Scala infer the path of a path-dependent type—even from an explicit self-reference?
- Intellij Scala class definition formatting
- About Scala generics: cannot find class manifest for element type T
- IntelliJ overrides Scala additional compiler options when synced from Gradle
- Scala compiler cannot infer mix-in type for pattern matching
- IntelliJ show errors in scala source files but the project compiles successfully
- Cannot use getDeclaredFields() to retrieve fields of a Scala class
- Partial EMMA code coverage in Scala Case Class for IntelliJ IDEA 10.5
- How to read the class of a Scala object extending Any but not AnyRef?
- Cannot use Scala class in Java
- Gradle scala project on intellij
- Scala sbt assembly jar does not work (class implementation not found) but code works when through IntelliJ
- "not found: value classOf" error when building scala in IntelliJ IDEA, but builds correctly in maven
- Scala worksheet can not resolve class name - IntelliJ IDEA
- Scala Spark : (org.apache.spark.repl.ExecutorClassLoader) Failed to check existence of class org on REPL class server at path
- Scala "constructor Stopwatch cannot be accessed in class Main"
- IntelliJ IDEA / Scala - cannot read resources
More Query from same tag
- What does CallingThreadDispatcher do?
- Spark mesos cluster mode is slower than local mode
- simplify settings for deb only build with sbt native packager
- Scala with maven: Execute a -jar-with-dependencies with a class
- How to secure a Java application when dynamic class loading?
- Aws Elastic Beanstalk deploy Akka application
- Is 'def eat():Unit = sleep(); def sleep(): Unit = eat()' a tail recursive function?
- What is a good architecture for a Lift-JPA application?
- Long running spark submit job
- Accessing (/importing) Scala Enumerations
- private field setter in scala
- In Scala, how would you declare static data inside a function?
- Recursively transform json in play
- What does scala enclosure mean?
- How to render a template from controller within template -- Java, Play 2.1
- Bizzare type inference limitation - multiple type params
- Play Framework - Disconnect an user
- Play Framework 2.1.0 not seeing static method from derived class
- Scala : how to start an actor in array?
- Scala Play form validation: different forms for one case class - is it possible?
- How to use Future in database access
- Akka Stream from within a Spark Job to write into kafka
- Returning code block in Scala
- Rendering Html Variables in Scala Play controller/template
- Scala inheritance from Java class with generic types in constructor
- How to get the cartesian product of two DStream in Spark Streaming with Scala?
- Scheduling a task at a fixed time of the day with Akka
- Use of the forall construct in Stainless
- How to revert XML escaped characters (XML unescape)?
- How to create custom operators with precedence