# Problem
I can't make java class file in this directory. Why?
# Situation
After made a project with site(https://start.spring.io/) and I've just opened my project by intelliJ.
I created the package 03datastruct under the temp directory, then I can't choose the java class file in that package.
(There isn't java class file type for making recommendation. But Kotlin file is available.)
# Cause
I broke the package naming rules.
The name must not start with a number. e.g. 03datastructure, 04mergesort
besides, IDE warned me when I create the package name like this screenshot
but I haven't noticed..
# Solution
All you have to do is name the package begins with letter.
(You can add a number at the middle or the end of the name.)
Also, The Icon named starts letter is different to package icon named start number.
There are hole in the disket.
So I can make java class file in the package :)
'개발 오류' 카테고리의 다른 글
[JdbcSQLNonTransientConnectionException] (0) | 2023.04.22 |
---|---|
[IntelliJ] SpringBootApplication 에러 (0) | 2023.04.17 |
[Spring in Action] H2 database 테이블 생성 안되는 오류 (2) | 2021.11.09 |
[Spring in Action] h2 database 접근 오류 (0) | 2021.11.07 |
Web server failed to start. Port 8080 was already in use. (0) | 2021.08.20 |