IDEA新手,记录遇到的问题

1. maven项目import提示cannot resolve symbolhtml

度娘搜索后两种方法尝试过File->Invalidate and Restart 和maven->Reimport均没有做用java

从新git pull下代码也不行git

 

最后在从新import project时,不选择internal jdk,选择本身装的jdk,问题解决maven

故缘由应是internal jdk问题ide

 

 

2. 右键新建项目没有java class选项idea

File -> Project Structure -> Modules -> Import Module 导入spa

 

 3. 执行时报 Error running 'StepDefRoot': Command line is too long. Shorten command line for StepDefRoot or also for Application default configuration.code

打开本项目的.idea文件夹,找到文件夹中的workspace.xml文件,在PropertiesComponent结构加入<property name="dynamic.classpath" value="true" />,从新执行便可经过。xml

参考:http://www.mamicode.com/info-detail-2291779.htmlhtm

相关文章
相关标签/搜索