Tag: intellij idea

帮助需要使用IntelliJ IDEA获得Spring MVC项目

所以我下载了一个终极的想法试验,我希望得到spring mvc和tomcat一起去。 所以我设置了一个新项目,将其配置为使用sun jdk。 我选择了一个spring应用程序,它创建并下载了以下内容: http://img15.imageshack.us/img15/4853/idealspring1.png http://img15.imageshack.us/img15/4853/idealspring1.png 我没有看到任何spring-mvc库,它们是否包含在那里或者我必须对此做些什么? 有人可以勾勒出我要做的事情,让它像Spring mvc web应用程序一样构建吗?

Intellij – 错误JAVA(导入等等)没有检测到

我开始使用IntelliJ-IDEA ,但我的java文件没有检测到像导入这样的错误。 我没有创建一个项目java ,因为我在同一个项目中使用不同的语言,但我想在java文件中检测错误。 我该怎么做?

JavaFX Scene Builder缺少大多数选项

我通过IntellijIDEA使用Scene Builder 。 突然间,右侧边栏的大多数选项都消失了 。 在所有标签中! 将项目拉到另一台机器时出现问题。 在之前的笔记本上,我曾经使用过Gluon Scene Builder ,这里安装了最后一个Oracle’s Scene Builder 。 我把它改成了Gluon的版本,但它没有解决问题。 这是一个bug还是我做错了什么?

init方法中的exception – JavaFX

在使用eclipse导出到.jar文件后,我得到了这个exception。 IntelliJ说的一样。 但我的程序在日食中运行良好。 Exception in thread “main” java.lang.NoClassDefFoundError: javafx/application/Application at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused by: java.lang.ClassNotFoundException: javafx.application.Application at java.net.URLClassLoader$1.run(Unknown Source) […]

catalina.home不被intellij认可

我正在使用一个属性占位符来引用一个文件,它在部署时可以正常工作,但是intellij没有拿起catalina home。 我已经尝试在intellij ide设置中设置windows环境varibale和路径,没有区别仍然显示错误(在ide中将我的数据源borks)我可以将conf文件放在项目目录中,但是然后项目将无法移植到其他tomcat安装没有进一步的jiggery pokery …. 肯定有一种方法可以让intellij在我的春季应用程序环境中正确识别和引用$ {catalina.home}吗? 系统变量设置正常:

如何在Windows操作系统上部署Twitter Heron?

我可以在Liunx操作系统上部署一个Twitter苍鹭群集,但我不知道苍鹭是否可以部署在Window OS上? 更重要的是,如果我想使用IntelliJ IDEA运行Heron项目,我应该在Liunx OS上安装IntelliJ IDEA(不是Windows操作系统吗?)。 任何建议,将不胜感激。

编译时出错:Android Studio

我正在尝试修改基于IntelliJ的现有android项目。 我已经搜索并尝试了很多东西,但仍然我的错误没有去: Error:(5, -1) android-apt-compiler: [main] D:\android\tinynote\app\src\main\res\values\theme.xml:5: error: Error retrieving parent for item: No resource found that matches the given name ‘@style/Theme.AppCompat’. 我能做什么 ? 提前致谢。 具体来说,错误在theme.xml中 @color/pager_background @style/Widget.Styled.ActionBar @style/Widget.Styled.ActionBar @drawable/actionbar_background @drawable/actionbar_background

计算某个字母的数字会出现在ArrayList中的一系列字符串中

我有一个ArrayList,以“做菜”的forms存储笔记(字符串)。 我有一个注释类,其中包含一个方法,该方法应该遍历ArrayList中的所有注释并计算某个字母出现的次数。 这是我到目前为止所写的方法: public int countNumberOf(String letter) { int count = 0; for (int i = 0; i < notes.size(); i++) { String note = (notes.get(i)); for (int j = 0; i < note.length(); i++) { String letterTemp = note.substring(i, i); if (letterTemp.equalsIgnoreCase(letter)) { count++; } } } return count; } 但是,当我运行程序时,即使我知道它出现在ArrayList中,我也会看到字母“a”出现的次数为零。 我究竟做错了什么?

Intellij IDEA使用java7编译器编译时我已将其配置为使用Java6

我已将Module SDK设置为1.6 我还将Project SDK设置为1.6 我还将Java编译器选项从设置更改为使用java 6 但它仍然使用java 7进行编译。 当我编译或运行它时会出现以下错误 Using javac 1.7.0_11 to compile java sources java: Errors occurred while compiling module ‘SSLJava6’ Compilation completed with 1 error and 0 warnings in 1 sec 1 error 0 warnings java: javacTask: source release 1.7 requires target release 1.7 以前有人遇到过这样的问题吗? 必须做什么? 输出java -version [aniket@localhost jndiProperties]$ java -version […]

intellij-idea系统找不到指定的文件,

有人能帮我吗? 我是编程的新手,我决定尝试从eclipse尝试IDEA,我遇到了一个问题,我已经从eclipse导入了一个项目,但在IDEA中,我不能像我在eclipse中那样尊重我的res文件夹不能使用res / image.png我只能做c:\ ect。 有谁知道为什么? 我已将res文件夹设置为资源根目录。