Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Struts und ANT

Empfohlene Antworten

Hallo zusammen, ich hab folgendes Problem.

Ich bin erst neu in der Java Szene und möchte nun ein war File aus meiner Struts Applikation erstellen.Bekomme aber folgender Fehler wenn ich das build.xml ausführe:

Problem creating war: Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat

Das Problem liegt bei webxml="web.xml"

<!-- Create binary distribution -->

<target name="dist" description="Create binary distribution">

<mkdir dir="${distpath.project}" />

<war basedir="../" warfile="${distpath.project}/${project.distname}.war" webxml="web.xml">

<exclude name="${distpath.project}/${project.distname}.war" />

</war>

</target>

Kann mir jemand weiterhelfen? Muss ich ev. etwas im web.xml ändern? Ein jar. File kann ich problemlos erstellen lassen.

Ich bedanke mich recht herzlich im Voraus.

Servus,

die Fehlermeldung sagt in meinen Augen eher, dass Du die web.xml von wo anders aus noch geöffnet hast, und sie deshalb nicht manipuliert werden darf.

Peter

Hallo Peter besten Dank für deine Antwort aber leider kommt der fehler auch nach dem neu Starten immer noch.....

Probier halt mal Tools wie 'Unlocker' auf die Datei anzuwenden.

Gruß

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.