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.

Fehler in application.xml

Empfohlene Antworten

Hallo ihr,

bin neu hier im Forum, bin mir deshalb auch nicht ganz so sicher ob mein topic hier her gehört...

Also...

ich bin dabei ein Portal aufzusetzen und habe Alles nach Anleitung von Bea gemacht (Creating a Portal in Your Development Environment) aber trotzdem erscheint mir ein Fehler im myPortalEAR in der application.xml. Die sieht so aus:

<?xml version="1.0" encoding="UTF-8"?>

<application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">

<display-name> myPortalEAR </display-name>

</application>

und der Fehler dazu:

Error(s) found in module 'myPortalEAR'. Publish was cancelled. Please see "Problems" view for details.

A J2EE Enterprise Application must contain one or more modules. at application.xml

Könnt ihr mir helfen. Bin totale Anfängerin!!! :rolleyes:

Danke und Gruß!

bin mir deshalb auch nicht ganz so sicher ob mein topic hier her gehört...
Ich würde sagen: Nein! ;)

A J2EE Enterprise Application must contain one or more modules.
Was verstehst du an dieser Fehlermeldung nicht? Du hast im Application Descriptor kein Modul definiert (also keine EJBs oder Webapplikationen). Ohne Module macht eine JEE-Applikation aber keinen Sinn - und genau das sagt dir diese Fehlermeldung.

Was ist denn genau ein Modul und wozu brauche ich es genau?

Und wie definiere ich ein Modul? so --> <module> ... </module>?

Danke schonmal für deine Hilfe!

Schau Dir doch mal das JEE-Tutorial an, da sollte schon mal einiges drinstehen, was Du wissen willst: The Javaâ„¢ EE 5 Tutorial

Ja, ein Modul definierst Du mit dem Tag "module". Schau Dir dazu mal die dtd oder das Schema der application.xml an, die sollte der Bea mitbringen.

Peter

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.