On Fri, Apr 23, 2021 at 9:39 AM calebc <
[email protected]> wrote:

> Hello!
>
> I have installed Maven, and the JDK, when I try to compile the
> guacamole-auth-json I am getting the following errors:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> (default-compile) on project guacamole-auth-json: Compilation failure:
> Compilation failure:
> [ERROR]
>
> /Users/USERNAME/Downloads/guacamole-client-master/extensions/guacamole-auth-json/src/main/java/org/apache/guacamole/auth/json/ConfigurationService.java:[27,38]
> error: cannot find symbol
> [ERROR]   symbol:   class ByteArrayProperty
> [ERROR]   location: package org.apache.guacamole.properties
> [ERROR]
>
> /Users/USERNAME/Downloads/guacamole-client-master/extensions/guacamole-auth-json/src/main/java/org/apache/guacamole/auth/json/ConfigurationService.java:[28,38]
> error: cannot find symbol
> [ERROR]   symbol:   class StringListProperty
> [ERROR]   location: package org.apache.guacamole.properties
>
>
These errors deal with properties that were formerly part of
guacamole-auth-json but have since been moved into guacamole-ext. This
means:

1) In order to build guacamole-auth-json, you will need to build the entire
guacamole-client project so that Maven pulls in the copy of guacamole-ext
that's part of the same source tree.
2) After all that builds, you will need to use the guacamole .war that's
produced from that same build. The resulting extension will not be
compatible with a version of Guacamole that includes an older guacamole-ext
(as such an older version would not have the new classes).

Overall, instead of running "mvn clean package" just within
guacamole-auth-json, run that within guacamole-client and make sure to only
use the resulting guacamole-auth-json extension with a .war from that same
build.

If you need a guacamole-auth-json that is compatible with existing
Guacamole releases, rather than only the current guacamole-client tree, you
will need to build the old Glyptodon repo:

https://github.com/glyptodon/guacamole-auth-json

Michael Jumper
CEO, Lead Developer
Glyptodon Inc <https://glyp.to/>.

Reply via email to