Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何更改dcm4chee用户界面_Java_Maven_Ant_Dcm4che - Fatal编程技术网

Java 如何更改dcm4chee用户界面

Java 如何更改dcm4chee用户界面,java,maven,ant,dcm4che,Java,Maven,Ant,Dcm4che,我是一名新的java开发人员,我正在尝试运行dcm4chee项目,在处理了很多麻烦之后,我终于成功地运行了它。 现在我想更改dcm4chee用户界面,但源代码中的任何更改都不会导致输出更改。 我用来运行的命令有: d: cd D:\source\cleanversion\dcm4jboss-all\dcm4jboss-build del /F target\dcm4chee-2.19.0-SNAPSHOT-mysql.zip ant mysql-dist rd /s /q c:\apps\dcm

我是一名新的java开发人员,我正在尝试运行dcm4chee项目,在处理了很多麻烦之后,我终于成功地运行了它。 现在我想更改dcm4chee用户界面,但源代码中的任何更改都不会导致输出更改。 我用来运行的命令有:

d:
cd D:\source\cleanversion\dcm4jboss-all\dcm4jboss-build
del /F target\dcm4chee-2.19.0-SNAPSHOT-mysql.zip
ant mysql-dist
rd /s /q c:\apps\dcm4chee-2.19.0-SNAPSHOT-mysql
unzip.exe -o -qq D:\source\cleanversion\dcm4jboss-all\dcm4jboss-build\target\dcm4chee-2.19.0-SNAPSHOT-mysql.zip -d c:\apps\
c:
cd C:\apps\dcm4chee-2.19.0-SNAPSHOT-mysql\bin
install_jboss.bat c:\apps\jboss-4.2.3.GA
cd C:\apps\dcm4chee-2.19.0-SNAPSHOT-mysql\sql
mysql -uroot -proot
drop database pacsdb;
create database pacsdb;
drop database arrdb;
create database pacsdb;

grant all on pacsdb.* to 'pacs'@'localhost' identified by 'pacs';
grant all on arrdb.* to 'arr'@'localhost' identified by 'arr';
\q
mysql -upacs -ppacs pacsdb < create.mysql

c:
cd C:\apps\dcm4chee-2.19.0-SNAPSHOT-mysql\bin
install_arr.bat C:\apps\dcm4chee-arr-3.0.11-mysql

c:
cd C:\apps\dcm4chee-web-3.0.2-mysql\bin
install.bat C:\apps\dcm4chee-2.19.0-SNAPSHOT-mysql

call C:\apps\dcm4chee-2.19.0-SNAPSHOT-mysql\bin\run.bat
例如,当我从dcm4cheeweb公共文件夹中更改“login.jsp”、“base style.css”和一些gif(logo.fig)时, 然后我使用“antmysql-dist”命令构建项目,创建“dcm4chee-2.19.0-SNAPSHOT-mysql.zip”,并按照中提到的安装说明进行安装,但没有应用更改

所以我决定下载“dcm4chee-web-3.0.2-scr.zip”而不是“dcm4chee-web-3.0.2-mysql.zip”,并尝试手动构建dcm4chee web源代码

为此,我使用此命令:

cd D:\source\cleanversion\dcm4chee-web\dcm4chee-web-dist
mvn -Ddb=mysql assembly:assembly
我得到了这个错误:

D:\source\cleanversion\dcm4chee-web\dcm4chee-web-dist>mvn -Ddb=mydsql assembly:a
ssembly
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
dcm4che.dcm4chee:dcm4chee-web-dist:pom:3.0.2
[WARNING] The expression ${version} is deprecated. Please use ${project.version}
 instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version}
 instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version}
 instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Assemble Distribution for WEB3 3.0.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-assembly-plugin:2.2-beta-5:assembly (default-cli) > package @ d
cm4chee-web-dist >>>
[INFO]
[INFO] <<< maven-assembly-plugin:2.2-beta-5:assembly (default-cli) < package @ d
cm4chee-web-dist <<<
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:assembly (default-cli) @ dcm4chee-we
b-dist ---
[INFO] Reading assembly descriptor: src/main/assembly/bin.xml
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-ear/3.0.2/dcm4chee-web-ear-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-ear/
3.0.2/dcm4chee-web-ear-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-ear/3.0.2/dcm4chee-web-ear-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-urlprovider/3.0.2/dcm4chee-web-urlprovider-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-urlp
rovider/3.0.2/dcm4chee-web-urlprovider-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-urlprovider/3.0.2/dcm4chee-web-urlprovider-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-licenseprovider/3.0.2/dcm4chee-web-licenseprovider-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-lice
nseprovider/3.0.2/dcm4chee-web-licenseprovider-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-licenseprovider/3.0.2/dcm4chee-web-licenseprovider-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
dashboard-sar-auditlog/3.0.2/dcm4chee-dashboard-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-dashboar
d-sar-auditlog/3.0.2/dcm4chee-dashboard-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
dashboard-sar-auditlog/3.0.2/dcm4chee-dashboard-sar-auditlog-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-sar-auditlog/3.0.2/dcm4chee-web-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-sar-
auditlog/3.0.2/dcm4chee-web-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-sar-auditlog/3.0.2/dcm4chee-web-sar-auditlog-3.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.588 s
[INFO] Finished at: 2015-08-07T18:57:53+04:30
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.
2-beta-5:assembly (default-cli) on project dcm4chee-web-dist: Failed to create a
ssembly: Failed to resolve dependencies for project: dcm4che.dcm4chee:dcm4chee-w
eb-dist:pom:3.0.2: Unable to get dependency information for dcm4che.dcm4chee:dcm
4chee-web-ear:ear:mydsql:3.0.2: Failed to retrieve POM for dcm4che.dcm4chee:dcm4
chee-web-ear:ear:mydsql:3.0.2: Failure to transfer dcm4che.dcm4chee:dcm4chee-web
-ear:pom:3.0.2 from http://snapshots.repository.codehaus.org was cached in the l
ocal repository, resolution will not be reattempted until the update interval of
 codehaus-snapshots has elapsed or updates are forced. Original error: Could not
 transfer artifact dcm4che.dcm4chee:dcm4chee-web-ear:pom:3.0.2 from/to codehaus-
snapshots (http://snapshots.repository.codehaus.org): Failed to transfer file: h
ttp://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-web-ear/3.0.2/
dcm4chee-web-ear-3.0.2.pom. Return code is: 410 , ReasonPhrase:Gone.
[ERROR] dcm4che.dcm4chee:dcm4chee-web-ear:ear:3.0.2
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] codehaus-snapshots (http://snapshots.repository.codehaus.org, releases=t
rue, snapshots=true),
[ERROR] wicketstuff (http://wicketstuff.org/maven/repository, releases=true, sna
pshots=true),
[ERROR] dcm4che (http://www.dcm4che.org/maven2, releases=true, snapshots=true),
[ERROR] maven2-repository.dev.java.net (http://download.java.net/maven/2, releas
es=true, snapshots=true),
[ERROR] glassfish-repository.dev.java.net (http://download.java.net/maven/glassf
ish, releases=true, snapshots=true),
[ERROR] jboss (http://repository.jboss.org/nexus/content/groups/public, releases
=true, snapshots=true),
[ERROR] Maven Central (http://repo1.maven.org/maven2, releases=true, snapshots=f
alse),
[ERROR] ejb3unit (http://ejb3unit.sourceforge.net/maven2, releases=true, snapsho
ts=false),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=f
alse)
[ERROR] Path to dependency:
[ERROR] 1) dcm4che.dcm4chee:dcm4chee-web-dist:pom:3.0.2
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
D:\source\cleanversion\dcm4chee-web\dcm4chee-web-dist>
D:\source\cleanversion\dcm4chee-web\dcm4chee-web-dist>mvn-Ddb=mydsql程序集:a
组装
[信息]正在扫描项目。。。
[警告]
[警告]在为创建有效模型时遇到一些问题
dcm4che.dcm4chee:dcm4chee web dist:pom:3.0.2
[警告]表达式${version}已弃用。请使用${project.version}
相反
[警告]表达式${version}已弃用。请使用${project.version}
相反
[警告]表达式${version}已弃用。请使用${project.version}
相反
[警告]
[警告]强烈建议修复这些问题,因为它们威胁到
你的体形很稳定。
[警告]
[警告]因此,将来的Maven版本可能不再支持buildin
g此类格式错误的项目。
[警告]
[信息]
[信息]------------------------------------------------------------------------
[信息]正在为WEB3 3.0.2构建组装分发
[信息]------------------------------------------------------------------------
[信息]
[INFO]>>>maven程序集插件:2.2-beta-5:assembly(默认cli)>package@d
cm4chee网络区>>>
[信息]

[信息]我查看了网站,发现最新版本是18.0.1,但您使用的是dcm4chee-2.19.0-SNAPSHOT-mysql。你从哪里得到这个版本的?我用源代码中的“antmysql dist”创建了这个版本
D:\source\cleanversion\dcm4chee-web\dcm4chee-web-dist>mvn -Ddb=mydsql assembly:a
ssembly
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
dcm4che.dcm4chee:dcm4chee-web-dist:pom:3.0.2
[WARNING] The expression ${version} is deprecated. Please use ${project.version}
 instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version}
 instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version}
 instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Assemble Distribution for WEB3 3.0.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-assembly-plugin:2.2-beta-5:assembly (default-cli) > package @ d
cm4chee-web-dist >>>
[INFO]
[INFO] <<< maven-assembly-plugin:2.2-beta-5:assembly (default-cli) < package @ d
cm4chee-web-dist <<<
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:assembly (default-cli) @ dcm4chee-we
b-dist ---
[INFO] Reading assembly descriptor: src/main/assembly/bin.xml
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-ear/3.0.2/dcm4chee-web-ear-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-ear/
3.0.2/dcm4chee-web-ear-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-ear/3.0.2/dcm4chee-web-ear-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-urlprovider/3.0.2/dcm4chee-web-urlprovider-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-urlp
rovider/3.0.2/dcm4chee-web-urlprovider-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-urlprovider/3.0.2/dcm4chee-web-urlprovider-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-licenseprovider/3.0.2/dcm4chee-web-licenseprovider-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-lice
nseprovider/3.0.2/dcm4chee-web-licenseprovider-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-licenseprovider/3.0.2/dcm4chee-web-licenseprovider-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
dashboard-sar-auditlog/3.0.2/dcm4chee-dashboard-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-dashboar
d-sar-auditlog/3.0.2/dcm4chee-dashboard-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
dashboard-sar-auditlog/3.0.2/dcm4chee-dashboard-sar-auditlog-3.0.2.pom
Downloading: http://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-
web-sar-auditlog/3.0.2/dcm4chee-web-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/2/dcm4che/dcm4chee/dcm4chee-web-sar-
auditlog/3.0.2/dcm4chee-web-sar-auditlog-3.0.2.pom
Downloading: http://download.java.net/maven/glassfish/dcm4che/dcm4chee/dcm4chee-
web-sar-auditlog/3.0.2/dcm4chee-web-sar-auditlog-3.0.2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.588 s
[INFO] Finished at: 2015-08-07T18:57:53+04:30
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.
2-beta-5:assembly (default-cli) on project dcm4chee-web-dist: Failed to create a
ssembly: Failed to resolve dependencies for project: dcm4che.dcm4chee:dcm4chee-w
eb-dist:pom:3.0.2: Unable to get dependency information for dcm4che.dcm4chee:dcm
4chee-web-ear:ear:mydsql:3.0.2: Failed to retrieve POM for dcm4che.dcm4chee:dcm4
chee-web-ear:ear:mydsql:3.0.2: Failure to transfer dcm4che.dcm4chee:dcm4chee-web
-ear:pom:3.0.2 from http://snapshots.repository.codehaus.org was cached in the l
ocal repository, resolution will not be reattempted until the update interval of
 codehaus-snapshots has elapsed or updates are forced. Original error: Could not
 transfer artifact dcm4che.dcm4chee:dcm4chee-web-ear:pom:3.0.2 from/to codehaus-
snapshots (http://snapshots.repository.codehaus.org): Failed to transfer file: h
ttp://snapshots.repository.codehaus.org/dcm4che/dcm4chee/dcm4chee-web-ear/3.0.2/
dcm4chee-web-ear-3.0.2.pom. Return code is: 410 , ReasonPhrase:Gone.
[ERROR] dcm4che.dcm4chee:dcm4chee-web-ear:ear:3.0.2
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] codehaus-snapshots (http://snapshots.repository.codehaus.org, releases=t
rue, snapshots=true),
[ERROR] wicketstuff (http://wicketstuff.org/maven/repository, releases=true, sna
pshots=true),
[ERROR] dcm4che (http://www.dcm4che.org/maven2, releases=true, snapshots=true),
[ERROR] maven2-repository.dev.java.net (http://download.java.net/maven/2, releas
es=true, snapshots=true),
[ERROR] glassfish-repository.dev.java.net (http://download.java.net/maven/glassf
ish, releases=true, snapshots=true),
[ERROR] jboss (http://repository.jboss.org/nexus/content/groups/public, releases
=true, snapshots=true),
[ERROR] Maven Central (http://repo1.maven.org/maven2, releases=true, snapshots=f
alse),
[ERROR] ejb3unit (http://ejb3unit.sourceforge.net/maven2, releases=true, snapsho
ts=false),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=f
alse)
[ERROR] Path to dependency:
[ERROR] 1) dcm4che.dcm4chee:dcm4chee-web-dist:pom:3.0.2
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
D:\source\cleanversion\dcm4chee-web\dcm4chee-web-dist>