Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle classes throws out errors #12

Closed
toming90 opened this issue May 5, 2020 · 3 comments
Closed

gradle classes throws out errors #12

toming90 opened this issue May 5, 2020 · 3 comments

Comments

@toming90
Copy link

toming90 commented May 5, 2020

Hi

I got following errors when I ran grandle classes:

> Task :compileJava
/Users/i851981/projects/retailscm-biz-suite/bizcore/WEB-INF/retailscm_core_src/com/doublechaintech/retailscm/BaseRetailscmListOfViewScope.java:5282: error: illegal character: '#'
                scopError#: ObjectCollection for retailscm failed with /home/philip/resin-3.1.12/webapps/sky/WEB-INF/work/_jsp/_javaweb/_java_0candidates_0util__jsp.java:26: error: cannot find symbol
                         ^
/Users/i851981/projects/retailscm-biz-suite/bizcore/WEB-INF/retailscm_core_src/com/doublechaintech/retailscm/BaseRetailscmListOfViewScope.java:5282: error: not a statement
                scopError#: ObjectCollection for retailscm failed with /home/philip/resin-3.1.12/webapps/sky/WEB-INF/work/_jsp/_javaweb/_java_0candidates_0util__jsp.java:26: error: cannot find symbol
                ^
/Users/i851981/projects/retailscm-biz-suite/bizcore/WEB-INF/retailscm_core_src/com/doublechaintech/retailscm/BaseRetailscmListOfViewScope.java:5282: error: not a statement
                scopError#: ObjectCollection for retailscm failed with /home/philip/resin-3.1.12/webapps/sky/WEB-INF/work/_jsp/_javaweb/_java_0candidates_0util__jsp.java:26: error: cannot find symbol
                            ^
.....
....
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

I followed the instructions and tried both gradle 5.3 and 6.3:

➜  bizcore git:(master) ✗ gradle -v

------------------------------------------------------------
Gradle 6.3
------------------------------------------------------------

Build time:   2020-03-24 19:52:07 UTC
Revision:     bacd40b727b0130eeac8855ae3f9fd9a0b207c60

Kotlin:       1.3.70
Groovy:       2.5.10
Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM:          1.8.0_252 (AdoptOpenJDK 25.252-b09)
OS:           Mac OS X 10.15.4 x86_64

Anyone know what's the root cause of such error? Any help is appreciated!

@philipgreat
Copy link
Contributor

Compile failure issue has been fixed , please have a look.

@toming90
Copy link
Author

toming90 commented May 5, 2020

Hi @philipgreat , Thanks for your quick response.

Now a new issue comes out when I tried to build the front-end in bizui directory:

➜  bizui git:(master) yarn install && yarn build                                                     
yarn install v1.17.3
info No lockfile found.
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
.........
.........
.........
yarn run v1.17.3
$ cross-env ESLINT=none roadhog build
  build [=============       ] 65%Failed to compile.

Module not found: Error: Can't resolve '../../components/TreeContainer' in '/Users/i851981/projects/retailscm-biz-suite/bizui/src/bizcomponents/treenode'


[graceful-process#22726] exit with code:1
error Command failed with exit code 1.

Looks like one of the recent modifications causes this issue.

@philipgreat
Copy link
Contributor

Tracked with new issue:

#13

with title

yarn install && yarn build fail with missing component - Tree Container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants