(12)intellij Cannot create package/ Java class in Intellij IDEA with Maven template
2017-11-17 18:12
2021 查看
i create a project on github,and clone it to my computer git repository. i want to create a java file , but right on the java file and select new tab, i can not find java class option,where my java class option?
the answer is, "You can mark any folder in project as Source folder with right click → Mark directory as → Sources root."
and picture as follow.
summary:
i'm problem solver , learn english and computer technology.
the answer is, "You can mark any folder in project as Source folder with right click → Mark directory as → Sources root."
and picture as follow.
summary:
i'm problem solver , learn english and computer technology.
相关文章推荐
- IntelliJ IDEA 12创建Maven管理的Java Web项目(图解)
- IntelliJ IDEA Exception in thread "main" java.lang.ClassNotFoundException
- Idea新建的maven项目不能创建package和java的class文件的问题
- how to create java test folder in intellij idea
- Maven编译报错[ERROR] Fatal Error: Unable to find package java.lang in classpath or bootclasspath
- maven使用jstl表达式和The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application解决
- jstl学习常见错误一: The absolute uri: http://java.sun.com/jst/core cannot be resolved in either web.xml or the jar files deployed with
- Mac 版本IDEA "Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachie
- intelij idea: Exception in thread "main" java.lang.ClassNotFoundException
- Function importPackage must be called with a package; had "[JavaClass java.util.ArrayList]"
- IDEA 编译错误:java: try-with-resources is not supported in -source 1.6 (use -source 7 or higher to enable try-with-resources)
- Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljav
- Problems with Eclipse buttons in Ubuntu 9.10(Cannot create/import project)
- Exception in thread "main" java.io.IOException: Cannot run program "XX": CreateProcess error
- Cannot create type class java.io.File from value
- exception http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
- idea中使用scala运行spark出现Exception in thread "main" java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
- Mac 上idea启动程序 “Class JavaLaunchHelper is implemented in both 。。。”错误解决
- mysql java Cannot find the driver in the classpath!
- How to create Immutable Class and Object in Java - Tutorial Example