Skip to content

Conversation

@HidayatusSolichah
Copy link

  1. File helloworld.java

    return new ModelAndView("welcome", "message", messages);

    Analisa :

    return new ModelAndView("welcome", "message", message);

  2. Script my-spring-servel.xml

    Analisa :

    Script my-spring-servel.xml
    <context:component-scan base-package="com.tobuku" />

    Analisa script : ".controller"
    <context:component-scan base-package="com.tobuku.controller" />

  3. Script pom.xml

    Analisa :
    hapus script

    javax.servlet
    javax.servlet-api
    3.1.0
    provided

  4. File web.xml
    Analisa :
    kurang penulisan "-" dalam servlet name

    Script
    myspring
    .html
    .anything

    Seharusnya
    my-spring
    .html
    .anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant