-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
these old frameworks don't exist any longer and are giving error while running ! #6
Comments
Hi @cfaddict / All, I'm getting this error in ECLIPSE IDE after importing as existing maven project in eclipse from the local repository that I cloned from this git. [INFO] BUILD FAILURE |
however, i can see that download sources and javadoc progress bar is showing now as 30% only. |
@cfaddict So, in eclipse after 100% download of sources and java doc it is giving the following error: [INFO] Scanning for projects... Could you please help asap ? |
you might be using a new version of spring boot - with code that is based on old version of spring boot try creating a new spring project (using spring boot starter), and check out the maven dependencies on it. then go to your existing project and check if those spring boot dependencies are on it. |
The issue may be that you are missing the spring boot data jpa dependency, add that and see if the issue persists. |
Hi All, @cfaddict ,
I'm getting the following errors while running from freshly installed Intellij Idea community edition.
Error:(5, 1) java: package org.springframework does not exist
Error:(12, 2) java: cannot find symbol
symbol: class Service
Error:(17, 10) java: cannot find symbol
symbol: class Autowired
location: class com.therealdanvega.service.AuthorService
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/repository/AuthorRepository.java
Error:(5, 43) java: package org.springframework.data.repository does not exist
Error:(9, 43) java: cannot find symbol
symbol: class CrudRepository
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/domain/Author.java
Error:(3, 25) java: package javax.persistence does not exist
Error:(4, 25) java: package javax.persistence does not exist
Error:(5, 25) java: package javax.persistence does not exist
Error:(7, 2) java: cannot find symbol
symbol: class Entity
Error:(10, 10) java: cannot find symbol
symbol: class Id
location: class com.therealdanvega.domain.Author
Error:(11, 10) java: cannot find symbol
symbol: class GeneratedValue
location: class com.therealdanvega.domain.Author
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/DataLoader.java
Error:(11, 52) java: package org.springframework.beans.factory.annotation does not exist
Error:(12, 38) java: package org.springframework.stereotype does not exist
Error:(19, 2) java: cannot find symbol
symbol: class Component
Error:(25, 10) java: cannot find symbol
symbol: class Autowired
location: class com.therealdanvega.DataLoader
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/repository/PostRepository.java
Error:(5, 43) java: package org.springframework.data.repository does not exist
Error:(6, 38) java: package org.springframework.stereotype does not exist
Error:(11, 41) java: cannot find symbol
symbol: class CrudRepository
Error:(10, 2) java: cannot find symbol
symbol: class Repository
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/domain/Post.java
Error:(6, 25) java: package javax.persistence does not exist
Error:(7, 25) java: package javax.persistence does not exist
Error:(8, 25) java: package javax.persistence does not exist
Error:(9, 25) java: package javax.persistence does not exist
Error:(10, 25) java: package javax.persistence does not exist
Error:(11, 25) java: package javax.persistence does not exist
Error:(12, 25) java: package javax.persistence does not exist
Error:(13, 25) java: package javax.persistence does not exist
Error:(15, 49) java: package com.fasterxml.jackson.databind.annotation does not exist
Error:(19, 2) java: cannot find symbol
symbol: class Entity
Error:(22, 10) java: cannot find symbol
symbol: class Id
location: class com.therealdanvega.domain.Post
Error:(22, 14) java: cannot find symbol
symbol: class GeneratedValue
location: class com.therealdanvega.domain.Post
Error:(26, 10) java: cannot find symbol
symbol: class Column
location: class com.therealdanvega.domain.Post
Error:(29, 10) java: cannot find symbol
symbol: class Column
location: class com.therealdanvega.domain.Post
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/interceptor/BaseInterceptor.java
Error:(3, 26) java: package javax.servlet.http does not exist
Error:(4, 26) java: package javax.servlet.http does not exist
Error:(6, 38) java: package org.springframework.web.method does not exist
Error:(7, 39) java: package org.springframework.web.servlet does not exist
Error:(8, 47) java: package org.springframework.web.servlet.handler does not exist
Error:(10, 38) java: cannot find symbol
symbol: class HandlerInterceptorAdapter
Error:(12, 32) java: cannot find symbol
symbol: class HttpServletRequest
location: class com.therealdanvega.interceptor.BaseInterceptor
Error:(12, 60) java: cannot find symbol
symbol: class HttpServletResponse
location: class com.therealdanvega.interceptor.BaseInterceptor
Error:(12, 106) java: cannot find symbol
symbol: class ModelAndView
location: class com.therealdanvega.interceptor.BaseInterceptor
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/controller/AuthorController.java
Error:(3, 52) java: package org.springframework.beans.factory.annotation does not exist
Error:(4, 38) java: package org.springframework.stereotype does not exist
Error:(5, 30) java: package org.springframework.ui does not exist
Error:(6, 47) java: package org.springframework.web.bind.annotation does not exist
Error:(10, 2) java: cannot find symbol
symbol: class Controller
Error:(11, 2) java: cannot find symbol
symbol: class RequestMapping
Error:(23, 28) java: cannot find symbol
symbol: class Model
location: class com.therealdanvega.controller.AuthorController
Error:(29, 28) java: cannot find symbol
symbol: class Model
location: class com.therealdanvega.controller.AuthorController
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/Application.java
Error:(3, 32) java: package org.springframework.boot does not exist
Error:(4, 46) java: package org.springframework.boot.autoconfigure does not exist
Error:(6, 2) java: cannot find symbol
symbol: class SpringBootApplication
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/config/WebConfig.java
Error:(3, 46) java: package org.springframework.context.annotation does not exist
Error:(4, 32) java: package org.springframework.core does not exist
Error:(5, 57) java: package org.springframework.web.servlet.config.annotation does not exist
Error:(6, 57) java: package org.springframework.web.servlet.config.annotation does not exist
Error:(7, 57) java: package org.springframework.web.servlet.config.annotation does not exist
Error:(12, 32) java: cannot find symbol
symbol: class WebMvcConfigurerAdapter
Error:(11, 2) java: cannot find symbol
symbol: class Configuration
Error:(15, 40) java: cannot find symbol
symbol: class ViewControllerRegistry
location: class com.therealdanvega.config.WebConfig
Error:(22, 37) java: cannot find symbol
symbol: class InterceptorRegistry
location: class com.therealdanvega.config.WebConfig
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/controller/HomeController.java
Error:(3, 52) java: package org.springframework.beans.factory.annotation does not exist
Error:(4, 38) java: package org.springframework.stereotype does not exist
Error:(5, 30) java: package org.springframework.ui does not exist
Error:(6, 47) java: package org.springframework.web.bind.annotation does not exist
Error:(10, 2) java: cannot find symbol
symbol: class Controller
Error:(21, 28) java: cannot find symbol
symbol: class Model
location: class com.therealdanvega.controller.HomeController
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/service/PostService.java
Error:(5, 52) java: package org.springframework.beans.factory.annotation does not exist
Error:(6, 38) java: package org.springframework.stereotype does not exist
Error:(11, 2) java: cannot find symbol
symbol: class Service
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/json/JsonDateSerializer.java
Error:(7, 34) java: package com.fasterxml.jackson.core does not exist
Error:(8, 34) java: package com.fasterxml.jackson.core does not exist
Error:(9, 38) java: package com.fasterxml.jackson.databind does not exist
Error:(10, 38) java: package com.fasterxml.jackson.databind does not exist
Error:(12, 41) java: cannot find symbol
symbol: class JsonSerializer
Error:(17, 38) java: cannot find symbol
symbol: class JsonGenerator
location: class com.therealdanvega.json.JsonDateSerializer
Error:(17, 57) java: cannot find symbol
symbol: class SerializerProvider
location: class com.therealdanvega.json.JsonDateSerializer
Error:(18, 33) java: cannot find symbol
symbol: class JsonProcessingException
location: class com.therealdanvega.json.JsonDateSerializer
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/controller/PostController.java
Error:(3, 52) java: package org.springframework.beans.factory.annotation does not exist
Error:(4, 38) java: package org.springframework.stereotype does not exist
Error:(5, 30) java: package org.springframework.ui does not exist
Error:(6, 47) java: package org.springframework.web.bind.annotation does not exist
Error:(7, 47) java: package org.springframework.web.bind.annotation does not exist
Error:(11, 2) java: cannot find symbol
symbol: class Controller
Error:(12, 2) java: cannot find symbol
symbol: class RequestMapping
Error:(24, 28) java: cannot find symbol
symbol: class Model
location: class com.therealdanvega.controller.PostController
Error:(30, 69) java: cannot find symbol
symbol: class Model
location: class com.therealdanvega.controller.PostController
Error:(36, 67) java: cannot find symbol
symbol: class Model
location: class com.therealdanvega.controller.PostController
/home/ashu/spring-boot-intro/crud/initial/src/main/java/com/therealdanvega/config/SecurityConfig.java
Error:(3, 55) java: package org.springframework.boot.autoconfigure.security does not exist
Error:(4, 46) java: package org.springframework.context.annotation does not exist
Error:(5, 43) java: package org.springframework.core.annotation does not exist
Error:(6, 75) java: package org.springframework.security.config.annotation.method.configuration does not exist
Error:(7, 67) java: package org.springframework.security.config.annotation.web.builders does not exist
Error:(8, 72) java: package org.springframework.security.config.annotation.web.configuration does not exist
Error:(13, 37) java: cannot find symbol
symbol: class WebSecurityConfigurerAdapter
Error:(10, 2) java: cannot find symbol
symbol: class Configuration
Error:(11, 2) java: cannot find symbol
symbol: class EnableGlobalMethodSecurity
Error:(12, 2) java: cannot find symbol
symbol: class Order
Error:(16, 34) java: cannot find symbol
symbol: class HttpSecurity
location: class com.therealdanvega.config.SecurityConfig
The text was updated successfully, but these errors were encountered: