File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/main/java/lk/ijse/dep/note/config Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 9191 <version >5.3.21</version >
9292 <scope >test</scope >
9393 </dependency >
94+ <!-- https://mvnrepository.com/artifact/org.modelmapper/modelmapper -->
95+ <!-- https://mvnrepository.com/artifact/org.modelmapper.extensions/modelmapper-spring -->
9496 <dependency >
95- <groupId >org.modelmapper</groupId >
96- <artifactId >modelmapper</artifactId >
97- <version >3.0 .0</version >
97+ <groupId >org.modelmapper.extensions </groupId >
98+ <artifactId >modelmapper-spring </artifactId >
99+ <version >3.1 .0</version >
98100 </dependency >
99101
102+
100103 </dependencies >
101104
102105 <build >
Original file line number Diff line number Diff line change 11package lk .ijse .dep .note .config ;
22
3+ import org .modelmapper .ModelMapper ;
34import org .springframework .beans .factory .config .YamlPropertiesFactoryBean ;
45import org .springframework .context .annotation .Bean ;
56import org .springframework .context .annotation .ComponentScans ;
1415@ Configuration
1516@ Import (JpaConfig .class )
1617public class WebRootConfig {
18+
19+ public ModelMapper
1720 @ Bean
1821 public static YamlPropertiesFactoryBean yamlPropertiesFactoryBean (ConfigurableEnvironment env ){
1922 YamlPropertiesFactoryBean yamlPropertiesFactoryBean = new YamlPropertiesFactoryBean ();
You can’t perform that action at this time.
0 commit comments