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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

①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
T_ Suzuki Atlassian Team Feb 09, 2021

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

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

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Feedback & Announcements

Unlock your free access to Atlassian Team 2021.

Hello, Atlassian Community members! As a reminder, Team 2021 is happening this April from the 28th to the 30th. Team 2021 is our newly reimagined conference (formerly called Atlassian Summit) cre...

999 views 11 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you