Giter VIP home page Giter VIP logo

spring_course's Introduction

Top Langs Github stats

spring_course's People

Contributors

animesh245 avatar

Watchers

 avatar

spring_course's Issues

You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.

warrior245@warrior245:~/Documents/Projects/Spring_class-57_dto$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< com.Spring_class-57:mvc_daoImpl_dto_er_db >--------------
[INFO] Building mvc_daoImpl_dto_er_db 0.0.1-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The artifact org.hibernate:hibernate-validator:jar:6.1.0.Final has been relocated to org.hibernate.validator:hibernate-validator:jar:6.1.0.Final
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mvc_daoImpl_dto_er_db ---
[INFO] Deleting /home/warrior245/Documents/Projects/Spring_class-57_dto/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mvc_daoImpl_dto_er_db ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mvc_daoImpl_dto_er_db ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 34 source files to /home/warrior245/Documents/Projects/Spring_class-57_dto/target/classes
[INFO] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/dao_impl/StatusDAO_Impl.java: /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/dao_impl/StatusDAO_Impl.java uses unchecked or unsafe operations.
[INFO] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/dao_impl/StatusDAO_Impl.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- aspectj-maven-plugin:1.14.0:compile (default) @ mvc_daoImpl_dto_er_db ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[WARNING] You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.
Your processor is: org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.BatchProcessingEnvImpl
Lombok supports: OpenJDK javac, ECJ
:

[ERROR] The method setAttachmentName(String) is undefined for the type Attachment
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/config/Utils.java:34
attachment.setAttachmentName(fileName);

[ERROR] The method setAttachmentPath(String) is undefined for the type Attachment
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/config/Utils.java:35
attachment.setAttachmentPath(path + fileName);

[ERROR] The method setAttachmentType(String) is undefined for the type Attachment
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/config/Utils.java:36
attachment.setAttachmentType(file.getContentType());

[ERROR] The method getLocationName() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:55
stringLocationList.add(location.getLocationName());
^^

[ERROR] The method getLocationName() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:75
stringLocationList.add(location.getLocationName());

[ERROR] The method getLocation() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:81
Location location = locationDAO.getLocationByName(userDTO.getLocation());

[ERROR] The method getName() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:88
user.setUserName(userDTO.getName());

[ERROR] The method getEmail() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:89
user.setUserEmail(userDTO.getEmail());

[ERROR] The method getPassword() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:90
user.setUserPassword(passwordEncoder.encode(userDTO.getPassword()));

[ERROR] The method setRole(Role) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:91
user.setRole(Role.ROLE_USER);

[ERROR] The method setLocation(Location) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:92
user.setLocation(location);

[ERROR] The method setAttachment(Attachment) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:93
user.setAttachment(attachment);

[ERROR] The method getUserList() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:96
location.getUserList().add(user);

[ERROR] The method getId() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:101
return "redirect:/user/show/" + user.getId();

[ERROR] The method getLocationName() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:170
stringLocationList.add(location.getLocationName());
^^

[ERROR] The method getId() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:175
userDTO.setId(user.getId());

[ERROR] The method getUserName() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:176
userDTO.setName(user.getUserName());
^^

[ERROR] The method getUserEmail() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:177
userDTO.setEmail(user.getUserEmail());
^^^

[ERROR] The method getUserPassword() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:178
userDTO.setPassword(user.getUserPassword());
^^^^^^

[ERROR] The method getLocation() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:179
userDTO.setLocation(user.getLocation().getLocationName());
^^

[ERROR] The method getLocation() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:188
Location location = locationDAO.getLocationByName(userDTO.getLocation());
^^

[ERROR] The method getId() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:191
Long id = userDTO.getId();

[ERROR] The method getName() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:194
user.setUserName(userDTO.getName());

[ERROR] The method getEmail() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:195
user.setUserEmail(userDTO.getEmail());

[ERROR] The method getPassword() is undefined for the type UserDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:196
user.setUserPassword(userDTO.getPassword());
^^

[ERROR] The method setLocation(Location) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:197
user.setLocation(location);
^^

[ERROR] The method getUserList() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:201
location.getUserList().add(user);
^^

[ERROR] The method getId() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:204
return "redirect:/user/show/" + user.getId();

[ERROR] The method setId(long) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:35
user.setId(1L);

[ERROR] The method setUserName(String) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:36
user.setUserName("admin");

[ERROR] The method setUserEmail(String) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:37
user.setUserEmail("[email protected]");

[ERROR] The method setUserPassword(String) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:38
user.setUserPassword(passwordEncoder.encode("1111"));
^^

[ERROR] The method setRole(Role) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:39
user.setRole(Role.ROLE_ADMIN);

[ERROR] The method setId(long) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:45
user.setId(3L);

[ERROR] The method setUserName(String) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:46
user.setUserName("user");

[ERROR] The method setUserEmail(String) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:47
user.setUserEmail("[email protected]");

[ERROR] The method setUserPassword(String) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:48
user.setUserPassword(passwordEncoder.encode("1111"));
^^

[ERROR] The method setRole(Role) is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:49
user.setRole(Role.ROLE_USER);

[ERROR] The method getLocationName() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:44
locationList.add(location.getLocationName());
^^

[ERROR] The method getLocation() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:57
Location location = locationDAO.getLocationByName(statusDTO.getLocation());
^^

[ERROR] The method getTitle() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:72
status.setStatusTitle(statusDTO.getTitle());

[ERROR] The method getDescription() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:73
status.setStatusDescription(statusDTO.getDescription());
^^^^^

[ERROR] The method getPrivacy() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:74
status.setStatusPrivacy(statusDTO.getPrivacy());
^

[ERROR] The method setLocation(Location) is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:75
status.setLocation(location);
^^

[ERROR] The method setStatusAttachmentList(List) is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:76
status.setStatusAttachmentList(attachmentList);
^^^^^^^^^^^^^^

[ERROR] The method getId() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:85
return "redirect:/status/show/" + status.getId();

[ERROR] The method getLocationName() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:110
stringLocationList.add(location.getLocationName());
^^

[ERROR] The method getId() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:115
statusDTO.setId(status.getId());

[ERROR] The method getStatusTitle() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:116
statusDTO.setTitle(status.getStatusTitle());
^^^^^

[ERROR] The method getStatusDescription() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:117
statusDTO.setDescription(status.getStatusDescription());
^^^^^^^^^^^

[ERROR] The method getStatusPrivacy() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:118
statusDTO.setPrivacy(status.getStatusPrivacy());
^^^^^^^

[ERROR] The method getLocation() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:119
statusDTO.setLocation(status.getLocation().getLocationName());
^^

[ERROR] The method getLocation() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:129
Location location = locationDAO.getLocationByName(statusDTO.getLocation());
^^

[ERROR] The method getId() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:131
Status status = statusDAO.getById(statusDTO.getId());

[ERROR] The method getTitle() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:132
status.setStatusTitle(statusDTO.getTitle());

[ERROR] The method getDescription() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:133
status.setStatusDescription(statusDTO.getDescription());
^^^^^

[ERROR] The method getPrivacy() is undefined for the type StatusDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:134
status.setStatusPrivacy(statusDTO.getPrivacy());
^

[ERROR] The method setLocation(Location) is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:135
status.setLocation(location);
^^

[ERROR] The method getStatusList() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:139
location.getStatusList().add(status);
^^^^

[ERROR] The method getId() is undefined for the type Status
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:142
return "redirect:/status/show/" + status.getId();

[ERROR] The method getName() is undefined for the type LocationDTO
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/LocationController.java:34
location.setLocationName(locationDTO.getName());

[ERROR] The method getId() is undefined for the type Location
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/LocationController.java:38
return "redirect:/location/show/" + location.getId();

[ERROR] The method getRole() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/service/UserService.java:38
authorities.add((GrantedAuthority) () -> userFromDb.getRole().name());

[ERROR] The method getUserEmail() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/service/UserService.java:40
return new User(userFromDb.getUserEmail(), userFromDb.getUserPassword(), authorities);
^^^

[ERROR] The method getUserPassword() is undefined for the type User
/home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/service/UserService.java:40
return new User(userFromDb.getUserEmail(), userFromDb.getUserPassword(), authorities);
^^^^^^

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.668 s
[INFO] Finished at: 2022-07-17T19:40:13+06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.14.0:compile (default) on project mvc_daoImpl_dto_er_db: AJC compiler errors:
[ERROR] error at attachment.setAttachmentName(fileName);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/config/Utils.java:34:0::0 The method setAttachmentName(String) is undefined for the type Attachment
[ERROR] error at attachment.setAttachmentPath(path + fileName);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/config/Utils.java:35:0::0 The method setAttachmentPath(String) is undefined for the type Attachment
[ERROR] error at attachment.setAttachmentType(file.getContentType());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/config/Utils.java:36:0::0 The method setAttachmentType(String) is undefined for the type Attachment
[ERROR] error at stringLocationList.add(location.getLocationName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:55:0::0 The method getLocationName() is undefined for the type Location
[ERROR] error at stringLocationList.add(location.getLocationName());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:75:0::0 The method getLocationName() is undefined for the type Location
[ERROR] error at Location location = locationDAO.getLocationByName(userDTO.getLocation());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:81:0::0 The method getLocation() is undefined for the type UserDTO
[ERROR] error at user.setUserName(userDTO.getName());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:88:0::0 The method getName() is undefined for the type UserDTO
[ERROR] error at user.setUserEmail(userDTO.getEmail());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:89:0::0 The method getEmail() is undefined for the type UserDTO
[ERROR] error at user.setUserPassword(passwordEncoder.encode(userDTO.getPassword()));
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:90:0::0 The method getPassword() is undefined for the type UserDTO
[ERROR] error at user.setRole(Role.ROLE_USER);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:91:0::0 The method setRole(Role) is undefined for the type User
[ERROR] error at user.setLocation(location);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:92:0::0 The method setLocation(Location) is undefined for the type User
[ERROR] error at user.setAttachment(attachment);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:93:0::0 The method setAttachment(Attachment) is undefined for the type User
[ERROR] error at location.getUserList().add(user);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:96:0::0 The method getUserList() is undefined for the type Location
[ERROR] error at return "redirect:/user/show/" + user.getId();
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:101:0::0 The method getId() is undefined for the type User
[ERROR] error at stringLocationList.add(location.getLocationName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:170:0::0 The method getLocationName() is undefined for the type Location
[ERROR] error at userDTO.setId(user.getId());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:175:0::0 The method getId() is undefined for the type User
[ERROR] error at userDTO.setName(user.getUserName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:176:0::0 The method getUserName() is undefined for the type User
[ERROR] error at userDTO.setEmail(user.getUserEmail());
[ERROR] ^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:177:0::0 The method getUserEmail() is undefined for the type User
[ERROR] error at userDTO.setPassword(user.getUserPassword());
[ERROR] ^^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:178:0::0 The method getUserPassword() is undefined for the type User
[ERROR] error at userDTO.setLocation(user.getLocation().getLocationName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:179:0::0 The method getLocation() is undefined for the type User
[ERROR] error at Location location = locationDAO.getLocationByName(userDTO.getLocation());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:188:0::0 The method getLocation() is undefined for the type UserDTO
[ERROR] error at Long id = userDTO.getId();
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:191:0::0 The method getId() is undefined for the type UserDTO
[ERROR] error at user.setUserName(userDTO.getName());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:194:0::0 The method getName() is undefined for the type UserDTO
[ERROR] error at user.setUserEmail(userDTO.getEmail());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:195:0::0 The method getEmail() is undefined for the type UserDTO
[ERROR] error at user.setUserPassword(userDTO.getPassword());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:196:0::0 The method getPassword() is undefined for the type UserDTO
[ERROR] error at user.setLocation(location);
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:197:0::0 The method setLocation(Location) is undefined for the type User
[ERROR] error at location.getUserList().add(user);
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:201:0::0 The method getUserList() is undefined for the type Location
[ERROR] error at return "redirect:/user/show/" + user.getId();
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/UserController.java:204:0::0 The method getId() is undefined for the type User
[ERROR] error at user.setId(1L);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:35:0::0 The method setId(long) is undefined for the type User
[ERROR] error at user.setUserName("admin");
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:36:0::0 The method setUserName(String) is undefined for the type User
[ERROR] error at user.setUserEmail("[email protected]");
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:37:0::0 The method setUserEmail(String) is undefined for the type User
[ERROR] error at user.setUserPassword(passwordEncoder.encode("1111"));
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:38:0::0 The method setUserPassword(String) is undefined for the type User
[ERROR] error at user.setRole(Role.ROLE_ADMIN);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:39:0::0 The method setRole(Role) is undefined for the type User
[ERROR] error at user.setId(3L);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:45:0::0 The method setId(long) is undefined for the type User
[ERROR] error at user.setUserName("user");
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:46:0::0 The method setUserName(String) is undefined for the type User
[ERROR] error at user.setUserEmail("[email protected]");
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:47:0::0 The method setUserEmail(String) is undefined for the type User
[ERROR] error at user.setUserPassword(passwordEncoder.encode("1111"));
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:48:0::0 The method setUserPassword(String) is undefined for the type User
[ERROR] error at user.setRole(Role.ROLE_USER);
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/AuthController.java:49:0::0 The method setRole(Role) is undefined for the type User
[ERROR] error at locationList.add(location.getLocationName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:44:0::0 The method getLocationName() is undefined for the type Location
[ERROR] error at Location location = locationDAO.getLocationByName(statusDTO.getLocation());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:57:0::0 The method getLocation() is undefined for the type StatusDTO
[ERROR] error at status.setStatusTitle(statusDTO.getTitle());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:72:0::0 The method getTitle() is undefined for the type StatusDTO
[ERROR] error at status.setStatusDescription(statusDTO.getDescription());
[ERROR] ^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:73:0::0 The method getDescription() is undefined for the type StatusDTO
[ERROR] error at status.setStatusPrivacy(statusDTO.getPrivacy());
[ERROR] ^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:74:0::0 The method getPrivacy() is undefined for the type StatusDTO
[ERROR] error at status.setLocation(location);
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:75:0::0 The method setLocation(Location) is undefined for the type Status
[ERROR] error at status.setStatusAttachmentList(attachmentList);
[ERROR] ^^^^^^^^^^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:76:0::0 The method setStatusAttachmentList(List) is undefined for the type Status
[ERROR] error at return "redirect:/status/show/" + status.getId();
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:85:0::0 The method getId() is undefined for the type Status
[ERROR] error at stringLocationList.add(location.getLocationName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:110:0::0 The method getLocationName() is undefined for the type Location
[ERROR] error at statusDTO.setId(status.getId());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:115:0::0 The method getId() is undefined for the type Status
[ERROR] error at statusDTO.setTitle(status.getStatusTitle());
[ERROR] ^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:116:0::0 The method getStatusTitle() is undefined for the type Status
[ERROR] error at statusDTO.setDescription(status.getStatusDescription());
[ERROR] ^^^^^^^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:117:0::0 The method getStatusDescription() is undefined for the type Status
[ERROR] error at statusDTO.setPrivacy(status.getStatusPrivacy());
[ERROR] ^^^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:118:0::0 The method getStatusPrivacy() is undefined for the type Status
[ERROR] error at statusDTO.setLocation(status.getLocation().getLocationName());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:119:0::0 The method getLocation() is undefined for the type Status
[ERROR] error at Location location = locationDAO.getLocationByName(statusDTO.getLocation());
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:129:0::0 The method getLocation() is undefined for the type StatusDTO
[ERROR] error at Status status = statusDAO.getById(statusDTO.getId());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:131:0::0 The method getId() is undefined for the type StatusDTO
[ERROR] error at status.setStatusTitle(statusDTO.getTitle());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:132:0::0 The method getTitle() is undefined for the type StatusDTO
[ERROR] error at status.setStatusDescription(statusDTO.getDescription());
[ERROR] ^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:133:0::0 The method getDescription() is undefined for the type StatusDTO
[ERROR] error at status.setStatusPrivacy(statusDTO.getPrivacy());
[ERROR] ^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:134:0::0 The method getPrivacy() is undefined for the type StatusDTO
[ERROR] error at status.setLocation(location);
[ERROR] ^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:135:0::0 The method setLocation(Location) is undefined for the type Status
[ERROR] error at location.getStatusList().add(status);
[ERROR] ^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:139:0::0 The method getStatusList() is undefined for the type Location
[ERROR] error at return "redirect:/status/show/" + status.getId();
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/StatusController.java:142:0::0 The method getId() is undefined for the type Status
[ERROR] error at location.setLocationName(locationDTO.getName());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/LocationController.java:34:0::0 The method getName() is undefined for the type LocationDTO
[ERROR] error at return "redirect:/location/show/" + location.getId();
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/controller/LocationController.java:38:0::0 The method getId() is undefined for the type Location
[ERROR] error at authorities.add((GrantedAuthority) () -> userFromDb.getRole().name());
[ERROR]
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/service/UserService.java:38:0::0 The method getRole() is undefined for the type User
[ERROR] error at return new User(userFromDb.getUserEmail(), userFromDb.getUserPassword(), authorities);
[ERROR] ^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/service/UserService.java:40:0::0 The method getUserEmail() is undefined for the type User
[ERROR] error at return new User(userFromDb.getUserEmail(), userFromDb.getUserPassword(), authorities);
[ERROR] ^^^^^^
[ERROR] /home/warrior245/Documents/Projects/Spring_class-57_dto/src/main/java/com/this_project/service/UserService.java:40:0::0 The method getUserPassword() is undefined for the type User
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Add Logger

Adding log4j dependency and implementing it's features

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.