Rename package to conform with site name
This commit is contained in:
parent
4192ee3f75
commit
bb321982a1
|
@ -1,7 +1,7 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.baeldung</groupId>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>spring-thymeleaf</artifactId>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.thymeleaf.config;
|
||||
package com.baeldung.thymeleaf.config;
|
||||
|
||||
import javax.servlet.ServletRegistration.Dynamic;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package org.baeldung.thymeleaf.config;
|
||||
package com.baeldung.thymeleaf.config;
|
||||
|
||||
import org.baeldung.thymeleaf.formatter.NameFormatter;
|
||||
import com.baeldung.thymeleaf.formatter.NameFormatter;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
@ -16,7 +16,7 @@ import org.thymeleaf.templateresolver.ServletContextTemplateResolver;
|
|||
|
||||
@Configuration
|
||||
@EnableWebMvc
|
||||
@ComponentScan({ "org.baeldung.thymeleaf" })
|
||||
@ComponentScan({ "com.baeldung.thymeleaf" })
|
||||
/**
|
||||
* Java configuration file that is used for Spring MVC and Thymeleaf
|
||||
* configurations
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.thymeleaf.controller;
|
||||
package com.baeldung.thymeleaf.controller;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.util.Date;
|
|
@ -1,10 +1,11 @@
|
|||
package org.baeldung.thymeleaf.controller;
|
||||
package com.baeldung.thymeleaf.controller;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.validation.Valid;
|
||||
|
||||
import com.baeldung.thymeleaf.model.Student;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.validation.BindingResult;
|
||||
|
@ -12,8 +13,6 @@ import org.springframework.web.bind.annotation.ModelAttribute;
|
|||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
import org.baeldung.thymeleaf.model.Student;
|
||||
|
||||
/**
|
||||
* Handles requests for the student model.
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.thymeleaf.formatter;
|
||||
package com.baeldung.thymeleaf.formatter;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.Locale;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.thymeleaf.model;
|
||||
package com.baeldung.thymeleaf.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
Loading…
Reference in New Issue