intellij-idea

java.lang.NoClassDefFoundError: org/slf4j/Logger class not found with IntelliJ and SBT

这一生的挚爱 提交于 2020-08-08 05:15:34
问题 I am trying to run a spark scala program where in I have used "import org.apache.spark.internal.Logging" . Program was running fine in local until I try to build a fat jar and added assembly.sbt using build.sbt Here's my build.sbt lazy val root = (project in file(".")). settings( name := "TestingSparkApplicationProject", version := "0.0.1-SNAPSHOT", scalaVersion := "2.11.12", mainClass in Compile := Some("com.test.spark.job.TestSparkJob.scala") ) val sparkVersion = "2.4.3" libraryDependencies

The module name specified in 'application.mainModule' (null) has not the expected value (hellofx) [closed]

折月煮酒 提交于 2020-08-03 11:31:48
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 days ago . Improve this question Running the JavaFX project with the run function in Gradle works fine, but using the jpackage function in Gradle does not work properly. An error occurs while executing the jpackage function: 12:56:41 AM: Executing task 'jpackage'... > Configure project : Project : => 'hellofx'

How to change GitHub repository in IDEA Intellij?

让人想犯罪 __ 提交于 2020-08-02 05:41:13
问题 I've lost access to my previous account on GitHub, so created new one and now, when I am trying to share my project ( which was shared on GitHub before), I get this message: Can't get repository info: {myRepositoryName} 404: Not Found - Not Found How to tell IDEA Intellij that I want to share project on different repository? thanks 回答1: TO CHANGE GITHUB CREDENTIALS From an open project: File > Settings > [Project Settings] > Version Control > GitHub Or File > Other Settings > Default Settings

How to change GitHub repository in IDEA Intellij?

[亡魂溺海] 提交于 2020-08-02 05:39:28
问题 I've lost access to my previous account on GitHub, so created new one and now, when I am trying to share my project ( which was shared on GitHub before), I get this message: Can't get repository info: {myRepositoryName} 404: Not Found - Not Found How to tell IDEA Intellij that I want to share project on different repository? thanks 回答1: TO CHANGE GITHUB CREDENTIALS From an open project: File > Settings > [Project Settings] > Version Control > GitHub Or File > Other Settings > Default Settings

Error:java.lang.RuntimeException: com.intellij.util.io.PersistentEnumeratorBase$CorruptedException:

我只是一个虾纸丫 提交于 2020-08-01 09:30:27
问题 The problem below occured on my Intellij Error:Internal error: (com.intellij.util.io.PersistentEnumeratorBase$CorruptedException) PersistentEnumerator storage corrupted C:\Users\Steven\.IntelliJIdea2016.2\system\compile-server\fraudserver_2012620e\out-target\data com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted C:\Users\Steven\.IntelliJIdea2016.2\system\compile-server\fraudserver_2012620e\out-target\data at com.intellij.util.io

How to work efficiently with SBT, Spark and “provided” dependencies?

大憨熊 提交于 2020-07-31 06:57:20
问题 I'm building an Apache Spark application in Scala and I'm using SBT to build it. Here is the thing: when I'm developing under IntelliJ IDEA, I want Spark dependencies to be included in the classpath (I'm launching a regular application with a main class) when I package the application (thanks to the sbt-assembly) plugin, I do not want Spark dependencies to be included in my fat JAR when I run unit tests through sbt test , I want Spark dependencies to be included in the classpath (same as #1

Trouble installing Swagger CodeGen

二次信任 提交于 2020-07-29 03:49:01
问题 I installed Swagger CodeGen using the command npm install swagger-codegen -g So I should have it installed, but there is some error/glitch going on. Everytime I enter swagger-codegen -v I get the following message 'swagger-codegen' is not recognized as an internal or external command, operable program or batch file. I have no idea what to do. How should I fix this? I am trying to follow a tutorial, but the instructor nevers shows how he installs programs. Under GitHub, the instructions don't

Trouble installing Swagger CodeGen

这一生的挚爱 提交于 2020-07-29 03:48:47
问题 I installed Swagger CodeGen using the command npm install swagger-codegen -g So I should have it installed, but there is some error/glitch going on. Everytime I enter swagger-codegen -v I get the following message 'swagger-codegen' is not recognized as an internal or external command, operable program or batch file. I have no idea what to do. How should I fix this? I am trying to follow a tutorial, but the instructor nevers shows how he installs programs. Under GitHub, the instructions don't

IntelliJ downloads Gradle dependencies but cannot find them during compile

核能气质少年 提交于 2020-07-24 03:16:32
问题 IntelliJ downloaded the dependencies listed in my build.gradle file and they show up in the External Library, but IntelliJ fails to find them during compile. It just throws a bunch of "package x does not exist" and "cannot resolve symbol". Under the Project Structure -> Modules -> Dependencies they all show up and are listed as compile. If I try to build it with Gradle it's successful, so it's just IntelliJ. Any ideas? If it's important, I'm using this on a Mac. 回答1: Found the answer.

IntelliJ downloads Gradle dependencies but cannot find them during compile

孤街浪徒 提交于 2020-07-24 03:15:22
问题 IntelliJ downloaded the dependencies listed in my build.gradle file and they show up in the External Library, but IntelliJ fails to find them during compile. It just throws a bunch of "package x does not exist" and "cannot resolve symbol". Under the Project Structure -> Modules -> Dependencies they all show up and are listed as compile. If I try to build it with Gradle it's successful, so it's just IntelliJ. Any ideas? If it's important, I'm using this on a Mac. 回答1: Found the answer.