"mvn -U clean package" was successful prior to running "ant update" when it failed.

I ran both again, and this time "ant update" was successful.

Besides having rebooted several times since the previous failure, there are just a couple things that changed.
So I'm not sure why this last attempt succeeded.

1.   I deleted the bin.bak, lib.bak, and webapps.bak files from the
   dspace directory
2. I stopped Tomcat before running both commands

Thanks everyone for your help.

- eric

On 12/4/2023 3:48 PM, DSpace Technical Support wrote:
Have you verified that the (re)build was successful prior to running "ant update"?

This error appears to be saying that the "workflow-curation.xsd" is missing from the final "dspace-api.jar" file (it should be embedded in that JAR file).

So, it might be that something went wrong during the "mvn package", or you need to clear Maven's cache via "mvn -U clean package".

Tim

On Wednesday, November 29, 2023 at 9:57:49 AM UTC-6 Eric Montague wrote:

    *workflow-curation.xsd* is in
    DSpace-dspace-7.6.1\dspace-api\src\main\resources\org\dspace\workflow

    On 11/29/2023 5:44 AM, DSpace Technical Support wrote:
    The first thing I'd check is the existence of
    'org/dspace/workflow/workflow-curation.xsd' inside
    `dspace/target/dspace-installer/lib/dspace-api-7.6.1.jar'. I
    don't see anything else in CurationTaskConfig#loadTaskConfig that
    involves URLs.

    On Wednesday, November 29, 2023 at 1:11:06 AM UTC-5 Eric Montague
    wrote:

        I'm trying to update 7.6 to 7.6.1 on Windows.

        ant update is failing at test_database (see attached file)

        Anyone have an idea of why?

        - eric

        
--------------------------------------------------------------------------


        postgres --version
        postgres (PostgreSQL) 15.3

        mvn -version
        Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
        Maven home: C:\apache-maven-3.8.8
        Java version: 17.0.2, vendor: Oracle Corporation, runtime:
        C:\jdk-17.0.2
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 11", version: "10.0", arch: "amd64",
        family: "windows"

        ant -version
        Apache Ant(TM) version 1.10.14 compiled on August 16 2023

        java -version
        openjdk version "17.0.2" 2022-01-18
        OpenJDK Runtime Environment (build 17.0.2+8-86)
        OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode,
        sharing)

-- All messages to this mailing list should adhere to the Code of
    Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
    ---
    You received this message because you are subscribed to the
    Google Groups "DSpace Technical Support" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to dspace-tech...@googlegroups.com.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/dspace-tech/648a3f95-430c-4aaf-af56-034e79097314n%40googlegroups.com
    
<https://groups.google.com/d/msgid/dspace-tech/648a3f95-430c-4aaf-af56-034e79097314n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/026c8693-f4da-4c81-aa09-72f71493f106n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/026c8693-f4da-4c81-aa09-72f71493f106n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1e5e9ae3-5eb2-4931-a9e3-89ec2273356d%40comcast.net.

Reply via email to