Title
d

duncanconroy

09/05/2017, 7:32 AM
Good Morning! I need some advice, because I'm stuck and I'd highly appreciate any input 🙂 My main project is Java + Spring Boot 1.5.4. I have a second project in Kotlin + Spring Boot 2.0.0.M3, which is using Entity classes from my main project, as in this repository:
package com.alphabrik.inditex.instore.import.io.readers

import com.alphabrik.inditex.instore.web.entity.stores.Area
import org.springframework.data.repository.CrudRepository

interface AreaRepository : CrudRepository<Area, Long>
When I compile and run this with IntelliJ, everything works like a charme. The problem occurs, when I try to compile this with Maven - it tells
[...]\AreaRepository.kt: (3, 38) Unresolved reference: web
and
[...]\AreaRepository.kt: (6, 43) Unresolved reference: Area
I started the Kotlin project with the config from start.spring.io Any ideas? Thanks in advance 🙂
a

agomez

09/05/2017, 12:57 PM
there's a problem with the imported package name or with the project dependencies, it's not resolving
import com.alphabrik.inditex.instore.web
d

duncanconroy

09/06/2017, 9:06 AM
thanks, found the problem