質問するログイン新規登録

質問編集履歴

3

ソースフォルダの記述を修正しました。

2017/08/30 00:28

投稿

hirohiro0369
hirohiro0369

スコア16

title CHANGED
File without changes
body CHANGED
@@ -14,9 +14,11 @@
14
14
  フォルダ構造とpom.xmlについて補足しました。
15
15
  ■フォルダ構造について
16
16
  mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが複数存在します。
17
+ ```
17
18
  \\eformadm\src\cycommon
18
19
  \\eformadm\src\core
19
20
  \\eformadm\src\web
21
+ ```
20
22
 
21
23
  ■pom.xmlについて
22
24
  ```xml

2

pom\.xmlの内容が見にくかったので、修正しました。

2017/08/30 00:28

投稿

hirohiro0369
hirohiro0369

スコア16

title CHANGED
File without changes
body CHANGED
@@ -10,31 +10,40 @@
10
10
 
11
11
  以上、よろしくお願いいたします。
12
12
 
13
-
14
13
  【補足情報】
15
14
  フォルダ構造とpom.xmlについて補足しました。
16
15
  ■フォルダ構造について
17
- mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが存在します。
16
+ mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが複数存在します。
18
- \eformadm\src\cycommon
17
+ \\eformadm\src\cycommon
19
- \eformadm\src\core
18
+ \\eformadm\src\core
20
- \eformadm\src\web
19
+ \\eformadm\src\web
21
20
 
22
21
  ■pom.xmlについて
22
+ ```xml
23
23
  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
24
  <modelVersion>4.0.0</modelVersion>
25
25
  <groupId>eformadm</groupId>
26
26
  <artifactId>eformadm</artifactId>
27
27
  <version>0.0.1-SNAPSHOT</version>
28
28
  <packaging>war</packaging>
29
+ <properties>
30
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31
+ </properties>
29
32
  <build>
30
- <finalName>form-alpha-adm</finalName>
33
+ <finalName>eformadm</finalName>
31
34
  <sourceDirectory>src</sourceDirectory>
32
35
  <resources>
33
36
  <resource>
34
37
  <directory>res/conf</directory>
38
+ <excludes>
39
+ <exclude>**/*.java</exclude>
40
+ </excludes>
35
41
  </resource>
36
42
  <resource>
37
43
  <directory>res/sql</directory>
44
+ <excludes>
45
+ <exclude>**/*.java</exclude>
46
+ </excludes>
38
47
  </resource>
39
48
  </resources>
40
49
  <plugins>
@@ -44,10 +53,6 @@
44
53
  <configuration>
45
54
  <source>1.8</source>
46
55
  <target>1.8</target>
47
- <excludes>
48
- <exclude>test</exclude>
49
- <exclude>CVS</exclude>
50
- </excludes>
51
56
  </configuration>
52
57
  </plugin>
53
58
  <plugin>
@@ -81,4 +86,147 @@
81
86
  </plugin>
82
87
  </plugins>
83
88
  </build>
84
- <dependencies>
89
+ <dependencies>
90
+ <dependency>
91
+ <groupId>asm</groupId>
92
+ <artifactId>asm</artifactId>
93
+ <version>3.3.1</version>
94
+ </dependency>
95
+ <dependency>
96
+ <groupId>commons-collections</groupId>
97
+ <artifactId>commons-collections</artifactId>
98
+ <version>3.2.1</version>
99
+ </dependency>
100
+ <dependency>
101
+ <groupId>org.apache.commons</groupId>
102
+ <artifactId>commons-compress</artifactId>
103
+ <version>1.13</version>
104
+ </dependency>
105
+ <dependency>
106
+ <groupId>commons-fileupload</groupId>
107
+ <artifactId>commons-fileupload</artifactId>
108
+ <version>1.3.2</version>
109
+ </dependency>
110
+ <dependency>
111
+ <groupId>commons-io</groupId>
112
+ <artifactId>commons-io</artifactId>
113
+ <version>2.4</version>
114
+ </dependency>
115
+ <dependency>
116
+ <groupId>org.apache.commons</groupId>
117
+ <artifactId>commons-lang3</artifactId>
118
+ <version>3.4</version>
119
+ </dependency>
120
+ <dependency>
121
+ <groupId>commons-logging</groupId>
122
+ <artifactId>commons-logging</artifactId>
123
+ <version>1.1.3</version>
124
+ </dependency>
125
+ <dependency>
126
+ <groupId>org.freemarker</groupId>
127
+ <artifactId>freemarker</artifactId>
128
+ <version>2.3.23</version>
129
+ </dependency>
130
+ <dependency>
131
+ <groupId>org.javassist</groupId>
132
+ <artifactId>javassist</artifactId>
133
+ <version>3.20.0-GA</version>
134
+ </dependency>
135
+ <dependency>
136
+ <groupId>log4j</groupId>
137
+ <artifactId>log4j</artifactId>
138
+ <version>1.2.17</version>
139
+ </dependency>
140
+ <dependency>
141
+ <groupId>org.mybatis</groupId>
142
+ <artifactId>mybatis</artifactId>
143
+ <version>3.3.0</version>
144
+ </dependency>
145
+ <dependency>
146
+ <groupId>org.mybatis</groupId>
147
+ <artifactId>mybatis-spring</artifactId>
148
+ <version>1.2.3</version>
149
+ </dependency>
150
+ <dependency>
151
+ <groupId>ognl</groupId>
152
+ <artifactId>ognl</artifactId>
153
+ <version>3.1.12</version>
154
+ </dependency>
155
+ <dependency>
156
+ <groupId>org.springframework</groupId>
157
+ <artifactId>spring-aop</artifactId>
158
+ <version>4.1.6.RELEASE</version>
159
+ </dependency>
160
+ <dependency>
161
+ <groupId>org.springframework</groupId>
162
+ <artifactId>spring-beans</artifactId>
163
+ <version>4.1.6.RELEASE</version>
164
+ </dependency>
165
+ <dependency>
166
+ <groupId>org.springframework</groupId>
167
+ <artifactId>spring-context</artifactId>
168
+ <version>4.1.6.RELEASE</version>
169
+ </dependency>
170
+ <dependency>
171
+ <groupId>org.springframework</groupId>
172
+ <artifactId>spring-context-support</artifactId>
173
+ <version>4.1.6.RELEASE</version>
174
+ </dependency>
175
+ <dependency>
176
+ <groupId>org.springframework</groupId>
177
+ <artifactId>spring-core</artifactId>
178
+ <version>4.1.6.RELEASE</version>
179
+ </dependency>
180
+ <dependency>
181
+ <groupId>org.springframework</groupId>
182
+ <artifactId>spring-expression</artifactId>
183
+ <version>4.1.6.RELEASE</version>
184
+ </dependency>
185
+ <dependency>
186
+ <groupId>org.springframework</groupId>
187
+ <artifactId>spring-jdbc</artifactId>
188
+ <version>4.1.6.RELEASE</version>
189
+ </dependency>
190
+ <dependency>
191
+ <groupId>org.springframework</groupId>
192
+ <artifactId>spring-tx</artifactId>
193
+ <version>4.1.6.RELEASE</version>
194
+ </dependency>
195
+ <dependency>
196
+ <groupId>org.springframework</groupId>
197
+ <artifactId>spring-web</artifactId>
198
+ <version>4.1.6.RELEASE</version>
199
+ </dependency>
200
+ <dependency>
201
+ <groupId>org.postgresql</groupId>
202
+ <artifactId>postgresql</artifactId>
203
+ <version>42.1.1</version>
204
+ </dependency>
205
+ <dependency>
206
+ <groupId>org.apache.struts</groupId>
207
+ <artifactId>struts2-core</artifactId>
208
+ <version>2.5.10.1</version>
209
+ </dependency>
210
+ <dependency>
211
+ <groupId>javax.servlet</groupId>
212
+ <artifactId>javax.servlet-api</artifactId>
213
+ <version>3.1.0</version>
214
+ </dependency>
215
+ <dependency>
216
+ <groupId>org.apache.tomcat</groupId>
217
+ <artifactId>tomcat-dbcp</artifactId>
218
+ <version>7.0.78</version>
219
+ </dependency>
220
+ <dependency>
221
+ <groupId>org.apache.struts</groupId>
222
+ <artifactId>struts2-spring-plugin</artifactId>
223
+ <version>2.5.10.1</version>
224
+ </dependency>
225
+ <dependency>
226
+ <groupId>org.apache.struts</groupId>
227
+ <artifactId>struts2-json-plugin</artifactId>
228
+ <version>2.5.10.1</version>
229
+ </dependency>
230
+ </dependencies>
231
+ </project>
232
+ ```

1

フォルダ構造とpom\.xmlについて補足しました。

2017/08/29 05:07

投稿

hirohiro0369
hirohiro0369

スコア16

title CHANGED
File without changes
body CHANGED
@@ -8,4 +8,77 @@
8
8
  上記対応してもエラーは解消できません。
9
9
  何か他の対処方法があれば、ご教授頂けますでしょうか?
10
10
 
11
- 以上、よろしくお願いいたします。
11
+ 以上、よろしくお願いいたします。
12
+
13
+
14
+ 【補足情報】
15
+ フォルダ構造とpom.xmlについて補足しました。
16
+ ■フォルダ構造について
17
+ mavenプロジェクト"eformadm"内のソースフォルダ"src"内に下記サブフォルダが存在します。
18
+ \eformadm\src\cycommon
19
+ \eformadm\src\core
20
+ \eformadm\src\web
21
+
22
+ ■pom.xmlについて
23
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
+ <modelVersion>4.0.0</modelVersion>
25
+ <groupId>eformadm</groupId>
26
+ <artifactId>eformadm</artifactId>
27
+ <version>0.0.1-SNAPSHOT</version>
28
+ <packaging>war</packaging>
29
+ <build>
30
+ <finalName>form-alpha-adm</finalName>
31
+ <sourceDirectory>src</sourceDirectory>
32
+ <resources>
33
+ <resource>
34
+ <directory>res/conf</directory>
35
+ </resource>
36
+ <resource>
37
+ <directory>res/sql</directory>
38
+ </resource>
39
+ </resources>
40
+ <plugins>
41
+ <plugin>
42
+ <artifactId>maven-compiler-plugin</artifactId>
43
+ <version>3.5.1</version>
44
+ <configuration>
45
+ <source>1.8</source>
46
+ <target>1.8</target>
47
+ <excludes>
48
+ <exclude>test</exclude>
49
+ <exclude>CVS</exclude>
50
+ </excludes>
51
+ </configuration>
52
+ </plugin>
53
+ <plugin>
54
+ <artifactId>maven-war-plugin</artifactId>
55
+ <version>3.0.0</version>
56
+ <configuration>
57
+ <warSourceDirectory>WebContent</warSourceDirectory>
58
+ <webXml>WebContent/WEB-INF/web.xml</webXml>
59
+ </configuration>
60
+ </plugin>
61
+ <plugin>
62
+ <groupId>org.codehaus.mojo</groupId>
63
+ <artifactId>build-helper-maven-plugin</artifactId>
64
+ <version>3.0.0</version>
65
+ <executions>
66
+ <execution>
67
+ <id>add-source</id>
68
+ <phase>generate-sources</phase>
69
+ <goals>
70
+ <goal>add-source</goal>
71
+ </goals>
72
+ <configuration>
73
+ <sources>
74
+ <source>src/cycommon</source>
75
+ <source>src/core</source>
76
+ <source>src/web</source>
77
+ </sources>
78
+ </configuration>
79
+ </execution>
80
+ </executions>
81
+ </plugin>
82
+ </plugins>
83
+ </build>
84
+ <dependencies>