Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,140
Community Members
 
Community Events
176
Community Groups

①How to I resolve this problem?②How can I change the port number 8080 to another?what number do I

フィードバック画面の使い方が、不適切であれば、ご指導ください。

以下が本論部分です

ANB.12.0.mavenproject154=nbconfigurationxmlで実行,
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.7-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>Tomcat</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
</properties>
<role rolename="manager-gui"/> //以下11行2021.2.8.追記分.うまく使えぬ
<user username="tomcat" password="s3crettt roles="manager-gui"/>
...
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
...
</project-shared-configuration>
<Connecter className="org.apache.coyote,tomcat4.CoyoteConnector"
port="8080" minProcessors="5" MaxProcessors ="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true"/>


(2)run
cd C:\Users\HIROSHI\Documents\NetBeansProjects\mavenproject154; "JAVA_HOME=C:\\Program Files\\Java\\jdk-15" cmd /c "\"C:\\Program Files\\NetBeans-12.0del this\\netbeans\\java\\maven\\bin\\mvn.cmd\" -Dnetbeans.deploy=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans-12.0del this\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 package"
Scanning for projects...

-------------------< com.mycompany:mavenproject154 >--------------------
Building mavenproject154 1.0-SNAPSHOT
--------------------------------[ war ]---------------------------------

--- maven-dependency-plugin:2.6:copy (default) @ mavenproject154 ---

--- maven-resources-plugin:2.6:resources (default-resources) @ mavenproject154 ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\HIROSHI\Documents\NetBeansProjects\mavenproject154\src\main\resources

--- maven-compiler-plugin:3.1:compile (default-compile) @ mavenproject154 ---
Nothing to compile - all classes are up to date

--- maven-resources-plugin:2.6:testResources (default-testResources) @ mavenproject154 ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\HIROSHI\Documents\NetBeansProjects\mavenproject154\src\test\resources

--- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ mavenproject154 ---
No sources to compile

--- maven-surefire-plugin:2.12.4:test (default-test) @ mavenproject154 ---
No tests to run.

--- maven-war-plugin:2.3:war (default-war) @ mavenproject154 ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.converters.collections.TreeMapConverter (file:/C:/Users/HIROSHI/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.converters.collections.TreeMapConverter
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Packaging webapp
Assembling webapp [mavenproject154] in [C:\Users\HIROSHI\Documents\NetBeansProjects\mavenproject154\target\mavenproject154-1.0-SNAPSHOT]
Processing war project
Copying webapp resources [C:\Users\HIROSHI\Documents\NetBeansProjects\mavenproject154\src\main\webapp]
Webapp assembled in [77 msecs]
Building war: C:\Users\HIROSHI\Documents\NetBeansProjects\mavenproject154\target\mavenproject154-1.0-SNAPSHOT.war
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 10.684 s
Finished at: 2021-02-08T14:51:57+09:00
------------------------------------------------------------------------
Deploying on Apache TomcatまたはTomEE
profile mode: false
debug mode: false
force redeploy: true
Tomcatの起動に失敗しました。サーバー・ポート8080はすでに使用されています。

1 answer

0 votes

コニュニティをご利用いただきありがとうございます。

恐れ入りますが、本コミュニティはアトラシアン製品に関連する内容について、他のユーザーと質問やディスカッションを行える場になっております。

Maven プロジェクトの開発等についてのヘルプが必要な場合、本コミュニティでは取り扱っておりませんので、以下のようなQ&Aサイトをご活用いただけますと幸いです。

日本語で申しわけありません。ご親切にありがとうございました。

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events