B4J Question [Solved][ABMaterial]: /css/materialize.4.32.min.css Not Found ...but the files are there

Batman_

Member
Licensed User
Hi.

I have the following messages in the log despite having the missing files in the appropriate folders so the webapp will not open correctly:

B4X:
/css/materialize.4.32.min.css
Not Found
/js/core.4.38.min.js
Not Found
/favicon.ico
Not Found

I have cleaned the project, shutdown and restarted the computer and tried re-copying the library files multiple times. I am running B4J 9.10.

The following screen shot shows my B4J additiional library setting and screenshots to the files that the log says are missing but are actually there.
ABM Missing files.JPG


When I try and open the webapp I now get the loading circles image.

ABM Loading.JPG


Any assistance appreciated.
 
Solution
Yes, as MichalK73 states, you have to copy them in the www folder, more specific in the www folder in YOUR projects /Objects/www/ folder, not in any B4J libraries folder.

Batman_

Member
Licensed User
Here is ther full log if that helps:
B4X:
Waiting for debugger to connect...
Program started.
Start B4J Analyse!
When an error occurs, check the B4JAnalyse.log file in the Objects folder to see the last B4J line it was working on.
Collecting data from B4J source files... (1/2)
DBM.bas
ABMLoginHandler.bas
ABMShared.bas
ABMCacheControl.bas
ABMCacheScavenger.bas
ABMErrorHandler.bas
ABMRootFilter.bas
ABMApplication.bas
HomePage.bas
UsersPage.bas
ABMPageTemplate.bas
AboutPage.bas
Lesson3SQLServer.b4j
Analysing data from B4J source files... (2/2)
Number of icons needed: 68
loading D:\000 ABMaterial For Dummies\Lesson 03 DB, CRUD, SQL Server2\Objects: copymewithjar.needs...
Using cache system: 3.0
Current App version: 1633047238252
Needs material/awesome icons
Building D:\000 ABMaterial For Dummies\Lesson 03 DB, CRUD, SQL Server2\Objects\copymewithjar.js.needs
Building core.min.1633047238252.css...
2021-10-01 10:13:59.089:INFO::main: Logging initialized @1440ms to org.eclipse.jetty.util.log.StdErrLog
2021-10-01 10:13:59.231:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2021-10-01 10:13:59.282:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2021-10-01 10:13:59.283:INFO:oejs.session:main: No SessionScavenger set, using defaults
2021-10-01 10:13:59.285:INFO:oejs.session:main: node0 Scavenging every 600000ms
2021-10-01 10:13:59.316:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@17497425{/,file:///D:/000%20ABMaterial%20For%20Dummies/Lesson%2003%20DB,%20CRUD,%20SQL%20Server2/Objects/www/,AVAILABLE}
2021-10-01 10:13:59.320:INFO:oejs.AbstractNCSARequestLog:main: Opened D:\000 ABMaterial For Dummies\Lesson 03 DB, CRUD, SQL Server2\Objects\logs\b4j-2021_10_01.request.log
2021-10-01 10:13:59.583:INFO:oejs.AbstractConnector:main: Started ServerConnector@11392934{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2021-10-01 10:13:59.584:INFO:oejs.Server:main: Started @1937ms
Emulated network latency: 100ms
2021-10-01 10:13:59.594:INFO:oejs.AbstractConnector:main: Stopped ServerConnector@11392934{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2021-10-01 10:13:59.594:INFO:oejs.session:main: node0 Stopped scavenging
2021-10-01 10:13:59.596:INFO:oejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@17497425{/,file:///D:/000%20ABMaterial%20For%20Dummies/Lesson%2003%20DB,%20CRUD,%20SQL%20Server2/Objects/www/,UNAVAILABLE}
2021-10-01 10:13:59.599:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 11.0.1+13
2021-10-01 10:13:59.606:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@17497425{/,file:///D:/000%20ABMaterial%20For%20Dummies/Lesson%2003%20DB,%20CRUD,%20SQL%20Server2/Objects/www/,AVAILABLE}
2021-10-01 10:13:59.607:INFO:oejs.AbstractNCSARequestLog:main: Opened D:\000 ABMaterial For Dummies\Lesson 03 DB, CRUD, SQL Server2\Objects\logs\b4j-2021_10_01.request.log
2021-10-01 10:13:59.608:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2021-10-01 10:13:59.608:INFO:oejs.session:main: No SessionScavenger set, using defaults
2021-10-01 10:13:59.608:INFO:oejs.session:main: node0 Scavenging every 660000ms
2021-10-01 10:13:59.610:INFO:oejs.AbstractConnector:main: Started ServerConnector@11392934{HTTP/1.1,[http/1.1]}{0.0.0.0:51045}
2021-10-01 10:13:59.617:INFO:oejs.Server:main: Started @1971ms
2021-10-01 10:13:59.618:INFO:oejs.session:main: node0 Scavenging every 990000ms
/css/materialize.4.32.min.css
Not Found
/js/core.4.38.min.js
Not Found
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
Even Batman learned from some point.
Hope this takes you to reshape Gotham...
 
Upvote 0
Top