Hey guys, since I couldn't find anything on the we...
# spring
p
Hey guys, since I couldn't find anything on the web I thought I might ask you guys: I get the same error in every single spring project I create:
Copy code
<build>
        <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
        <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
Cannot resolve directory '$'{'project.basedir}'
I guess it's something with my configuration but I just can't point the finger at it. Any ideas? Thanks ahead!
n
'$'{'project.basedir}'
are there 4
'
characters? i suspect there might be hidden characters... i’d try to retype it from scratch unless you overwrote it
p
no, theres only
${project.basedir}/src/main/kotlin
. no
'
at all. 😞 Some kind of configuration must be broken on my side, because it happens in every Spring project. If I create an empty one and check the pom everything is set as in my pom.xml. Really not sure what's broken there.
n
me neither... can you to build through the command-line?
mvn compile
p
Building is working completely fine, IntelliJ just throws an error at me when I'm in that file or when I want to commit something. Especially the latter is pretty annoying.
n
it obviously not kotlin-related i’m afraid it’s not the right place to look for support i’d suggest to fill in a bug in intellij
p
Yeah, you're probably right!