Maven project: The hierarchy of the type SpittrWebAppInitializer is inconsistent

ساخت وبلاگ

Vote count: 0

I am using eclipse to implement the codes in the book "Spring In Action".

package spittr.config;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
import org.springframework.web.servlet.support.AbstractDispatcherServletInitializer;
public class SpittrWebAppInitializer extends AbstractAnnotationConfigDispatcherServletInitializer{
}

Then i have a error like this:

 "The hierarchy of the type SpittrWebAppInitializer is inconsistent"

But i have imported the necessary class in the library: Maven dependencies

Maven and SpringMVC is new to me and i'm confused about this error, please help me.

asked 54 secs ago

- - , .
.

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 281 تاريخ : شنبه 26 تير 1395 ساعت: 21:32