プロジェクトの作成

mvn archetype:generate -B -DarchetypeGroupId=org.terasoluna.gfw.blank -DarchetypeArtifactId=terasoluna-gfw-web-blank-archetype -DarchetypeVersion=5.3.0.RELEASE -DgroupId=com.example.helloworld -DartifactId=helloworld -Dversion=1.0.0-SNAPSHOT

spring-mvc.xml

自動検索のパッケージ

<context:component-scan base-package="com.example.helloworld.app" />

Tips

BeanCopySpringのBeanUtilsもあるが、TerasolunaではOSSのDozerを推奨

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-10-14 (金) 13:16:53