| Line 3... |
Line 3... |
| 3 |
import java.io.IOException;
|
3 |
import java.io.IOException;
|
| 4 |
import java.util.Properties;
|
4 |
import java.util.Properties;
|
| 5 |
|
5 |
|
| 6 |
import org.slf4j.Logger;
|
6 |
import org.slf4j.Logger;
|
| 7 |
import org.slf4j.LoggerFactory;
|
7 |
import org.slf4j.LoggerFactory;
|
| 8 |
import org.springframework.beans.factory.annotation.Value;
|
- |
|
| 9 |
import org.springframework.context.annotation.Bean;
|
8 |
import org.springframework.context.annotation.Bean;
|
| 10 |
import org.springframework.context.annotation.ComponentScan;
|
9 |
import org.springframework.context.annotation.ComponentScan;
|
| 11 |
import org.springframework.context.annotation.Configuration;
|
10 |
import org.springframework.context.annotation.Configuration;
|
| 12 |
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
|
11 |
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
|
| 13 |
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
|
12 |
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
|
| Line 16... |
Line 15... |
| 16 |
import org.springframework.web.multipart.commons.CommonsMultipartResolver;
|
15 |
import org.springframework.web.multipart.commons.CommonsMultipartResolver;
|
| 17 |
import org.springframework.web.servlet.ViewResolver;
|
16 |
import org.springframework.web.servlet.ViewResolver;
|
| 18 |
import org.springframework.web.servlet.view.velocity.VelocityConfigurer;
|
17 |
import org.springframework.web.servlet.view.velocity.VelocityConfigurer;
|
| 19 |
import org.springframework.web.servlet.view.velocity.VelocityLayoutViewResolver;
|
18 |
import org.springframework.web.servlet.view.velocity.VelocityLayoutViewResolver;
|
| 20 |
|
19 |
|
| 21 |
import com.mongodb.MongoConnectionPoolMXBean;
|
- |
|
| 22 |
import com.spice.profitmandi.dao.repository.dtr.Mongo;
|
- |
|
| 23 |
|
- |
|
| 24 |
@SuppressWarnings("deprecation")
|
20 |
@SuppressWarnings("deprecation")
|
| 25 |
@Configuration
|
21 |
@Configuration
|
| 26 |
@ComponentScan("com.spice.profitmandi.*")
|
22 |
@ComponentScan("com.spice.profitmandi.*")
|
| 27 |
public class AppConfig {
|
23 |
public class AppConfig {
|
| 28 |
|
24 |
|